diff --git a/.semgrep/imports.yml b/.semgrep/imports.yml index 4c1bae94367..e429d931373 100644 --- a/.semgrep/imports.yml +++ b/.semgrep/imports.yml @@ -10,6 +10,7 @@ rules: - pattern: '"github.com/hashicorp/consul/command/flags"' - pattern: '"github.com/hashicorp/consul/sdk"' - pattern: '"github.com/hashicorp/go-set"' + - pattern: '"github.com/mitchellh/cli"' - pattern: '"golang.org/x/exp/slices"' - pattern: '"golang.org/x/exp/maps"' - pattern: '"golang.org/x/exp/constraints"' diff --git a/command/acl.go b/command/acl.go index b900ec5bbc1..523f6639e39 100644 --- a/command/acl.go +++ b/command/acl.go @@ -6,7 +6,7 @@ package command import ( "strings" - "github.com/mitchellh/cli" + "github.com/hashicorp/cli" ) type ACLCommand struct { diff --git a/command/acl_auth_method.go b/command/acl_auth_method.go index 50ca27aea26..013bd9afa7d 100644 --- a/command/acl_auth_method.go +++ b/command/acl_auth_method.go @@ -7,8 +7,8 @@ import ( "fmt" "strings" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/api" - "github.com/mitchellh/cli" ) // Ensure ACLAuthMethodCommand satisfies the cli.Command interface. diff --git a/command/acl_auth_method_create.go b/command/acl_auth_method_create.go index e41fec8feb9..72a366b92ae 100644 --- a/command/acl_auth_method_create.go +++ b/command/acl_auth_method_create.go @@ -11,8 +11,8 @@ import ( "strings" "time" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/api" - "github.com/mitchellh/cli" "github.com/posener/complete" ) diff --git a/command/acl_auth_method_create_test.go b/command/acl_auth_method_create_test.go index a552fd4a360..b7a46808aa8 100644 --- a/command/acl_auth_method_create_test.go +++ b/command/acl_auth_method_create_test.go @@ -9,10 +9,10 @@ import ( "os" "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/ci" "github.com/hashicorp/nomad/command/agent" "github.com/hashicorp/nomad/testutil" - "github.com/mitchellh/cli" "github.com/shoenig/test/must" ) diff --git a/command/acl_auth_method_delete.go b/command/acl_auth_method_delete.go index 4abb44c2618..c21dc5775cd 100644 --- a/command/acl_auth_method_delete.go +++ b/command/acl_auth_method_delete.go @@ -7,7 +7,7 @@ import ( "fmt" "strings" - "github.com/mitchellh/cli" + "github.com/hashicorp/cli" "github.com/posener/complete" ) diff --git a/command/acl_auth_method_delete_test.go b/command/acl_auth_method_delete_test.go index 9cd32e706d4..14736518817 100644 --- a/command/acl_auth_method_delete_test.go +++ b/command/acl_auth_method_delete_test.go @@ -7,11 +7,11 @@ import ( "fmt" "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/ci" "github.com/hashicorp/nomad/command/agent" "github.com/hashicorp/nomad/nomad/mock" "github.com/hashicorp/nomad/nomad/structs" - "github.com/mitchellh/cli" "github.com/shoenig/test/must" ) diff --git a/command/acl_auth_method_info.go b/command/acl_auth_method_info.go index ad6d1996ee4..fea820e3938 100644 --- a/command/acl_auth_method_info.go +++ b/command/acl_auth_method_info.go @@ -7,7 +7,7 @@ import ( "fmt" "strings" - "github.com/mitchellh/cli" + "github.com/hashicorp/cli" "github.com/posener/complete" ) diff --git a/command/acl_auth_method_info_test.go b/command/acl_auth_method_info_test.go index 66e76a9e57b..bc97c5850a4 100644 --- a/command/acl_auth_method_info_test.go +++ b/command/acl_auth_method_info_test.go @@ -6,11 +6,11 @@ package command import ( "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/ci" "github.com/hashicorp/nomad/command/agent" "github.com/hashicorp/nomad/nomad/mock" "github.com/hashicorp/nomad/nomad/structs" - "github.com/mitchellh/cli" "github.com/shoenig/test/must" ) diff --git a/command/acl_auth_method_list.go b/command/acl_auth_method_list.go index 256e88f9495..21e69327e3f 100644 --- a/command/acl_auth_method_list.go +++ b/command/acl_auth_method_list.go @@ -7,8 +7,8 @@ import ( "fmt" "strings" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/api" - "github.com/mitchellh/cli" "github.com/posener/complete" ) diff --git a/command/acl_auth_method_list_test.go b/command/acl_auth_method_list_test.go index 2afe9193472..1c08b016c01 100644 --- a/command/acl_auth_method_list_test.go +++ b/command/acl_auth_method_list_test.go @@ -6,11 +6,11 @@ package command import ( "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/ci" "github.com/hashicorp/nomad/command/agent" "github.com/hashicorp/nomad/nomad/mock" "github.com/hashicorp/nomad/nomad/structs" - "github.com/mitchellh/cli" "github.com/shoenig/test/must" ) diff --git a/command/acl_auth_method_update.go b/command/acl_auth_method_update.go index 59d0ebe3649..673e3f4245c 100644 --- a/command/acl_auth_method_update.go +++ b/command/acl_auth_method_update.go @@ -12,8 +12,8 @@ import ( "strings" "time" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/api" - "github.com/mitchellh/cli" "github.com/posener/complete" ) diff --git a/command/acl_auth_method_update_test.go b/command/acl_auth_method_update_test.go index 2d17a5848a8..2fc9ebd40bb 100644 --- a/command/acl_auth_method_update_test.go +++ b/command/acl_auth_method_update_test.go @@ -10,11 +10,11 @@ import ( "testing" "time" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/ci" "github.com/hashicorp/nomad/command/agent" "github.com/hashicorp/nomad/nomad/structs" "github.com/hashicorp/nomad/testutil" - "github.com/mitchellh/cli" "github.com/shoenig/test/must" ) diff --git a/command/acl_binding_rule.go b/command/acl_binding_rule.go index 5419352cc1d..1d1833f80d7 100644 --- a/command/acl_binding_rule.go +++ b/command/acl_binding_rule.go @@ -7,8 +7,8 @@ import ( "fmt" "strings" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/api" - "github.com/mitchellh/cli" ) // Ensure ACLBindingRuleCommand satisfies the cli.Command interface. diff --git a/command/acl_binding_rule_create.go b/command/acl_binding_rule_create.go index 26371805702..9a730d79715 100644 --- a/command/acl_binding_rule_create.go +++ b/command/acl_binding_rule_create.go @@ -7,8 +7,8 @@ import ( "fmt" "strings" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/api" - "github.com/mitchellh/cli" "github.com/posener/complete" ) diff --git a/command/acl_binding_rule_create_test.go b/command/acl_binding_rule_create_test.go index 6416506a0b0..3a32346e156 100644 --- a/command/acl_binding_rule_create_test.go +++ b/command/acl_binding_rule_create_test.go @@ -7,11 +7,11 @@ import ( "testing" "time" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/ci" "github.com/hashicorp/nomad/command/agent" "github.com/hashicorp/nomad/nomad/structs" "github.com/hashicorp/nomad/testutil" - "github.com/mitchellh/cli" "github.com/shoenig/test/must" ) diff --git a/command/acl_binding_rule_delete.go b/command/acl_binding_rule_delete.go index 98d4e08ca14..7a61f8d0bbe 100644 --- a/command/acl_binding_rule_delete.go +++ b/command/acl_binding_rule_delete.go @@ -7,7 +7,7 @@ import ( "fmt" "strings" - "github.com/mitchellh/cli" + "github.com/hashicorp/cli" "github.com/posener/complete" ) diff --git a/command/acl_binding_rule_delete_test.go b/command/acl_binding_rule_delete_test.go index b88bd626838..ba1b0ca302b 100644 --- a/command/acl_binding_rule_delete_test.go +++ b/command/acl_binding_rule_delete_test.go @@ -6,12 +6,12 @@ package command import ( "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/ci" "github.com/hashicorp/nomad/command/agent" "github.com/hashicorp/nomad/helper/uuid" "github.com/hashicorp/nomad/nomad/structs" "github.com/hashicorp/nomad/testutil" - "github.com/mitchellh/cli" "github.com/shoenig/test/must" ) diff --git a/command/acl_binding_rule_info.go b/command/acl_binding_rule_info.go index 2f5305f8945..52ce550847e 100644 --- a/command/acl_binding_rule_info.go +++ b/command/acl_binding_rule_info.go @@ -7,7 +7,7 @@ import ( "fmt" "strings" - "github.com/mitchellh/cli" + "github.com/hashicorp/cli" "github.com/posener/complete" ) diff --git a/command/acl_binding_rule_info_test.go b/command/acl_binding_rule_info_test.go index 2b04b76d109..0d03836e81a 100644 --- a/command/acl_binding_rule_info_test.go +++ b/command/acl_binding_rule_info_test.go @@ -7,12 +7,12 @@ import ( "fmt" "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/ci" "github.com/hashicorp/nomad/command/agent" "github.com/hashicorp/nomad/helper/uuid" "github.com/hashicorp/nomad/nomad/structs" "github.com/hashicorp/nomad/testutil" - "github.com/mitchellh/cli" "github.com/shoenig/test/must" ) diff --git a/command/acl_binding_rule_list.go b/command/acl_binding_rule_list.go index 5931786bb90..6cd70795f3b 100644 --- a/command/acl_binding_rule_list.go +++ b/command/acl_binding_rule_list.go @@ -7,8 +7,8 @@ import ( "fmt" "strings" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/api" - "github.com/mitchellh/cli" "github.com/posener/complete" ) diff --git a/command/acl_binding_rule_list_test.go b/command/acl_binding_rule_list_test.go index 7b4733a6435..9da9d2bf8cb 100644 --- a/command/acl_binding_rule_list_test.go +++ b/command/acl_binding_rule_list_test.go @@ -6,12 +6,12 @@ package command import ( "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/ci" "github.com/hashicorp/nomad/command/agent" "github.com/hashicorp/nomad/helper/uuid" "github.com/hashicorp/nomad/nomad/structs" "github.com/hashicorp/nomad/testutil" - "github.com/mitchellh/cli" "github.com/shoenig/test/must" ) diff --git a/command/acl_binding_rule_update.go b/command/acl_binding_rule_update.go index 58a3ca76168..598f78da2e6 100644 --- a/command/acl_binding_rule_update.go +++ b/command/acl_binding_rule_update.go @@ -7,8 +7,8 @@ import ( "fmt" "strings" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/api" - "github.com/mitchellh/cli" "github.com/posener/complete" ) diff --git a/command/acl_binding_rule_update_test.go b/command/acl_binding_rule_update_test.go index 7b0366ee401..0a51213ea88 100644 --- a/command/acl_binding_rule_update_test.go +++ b/command/acl_binding_rule_update_test.go @@ -7,12 +7,12 @@ import ( "testing" "time" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/ci" "github.com/hashicorp/nomad/command/agent" "github.com/hashicorp/nomad/helper/uuid" "github.com/hashicorp/nomad/nomad/structs" "github.com/hashicorp/nomad/testutil" - "github.com/mitchellh/cli" "github.com/shoenig/test/must" ) diff --git a/command/acl_bootstrap.go b/command/acl_bootstrap.go index 408d28c9601..9d3af38fc2e 100644 --- a/command/acl_bootstrap.go +++ b/command/acl_bootstrap.go @@ -10,8 +10,8 @@ import ( "strings" "time" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/api" - "github.com/mitchellh/cli" "github.com/posener/complete" ) diff --git a/command/acl_bootstrap_test.go b/command/acl_bootstrap_test.go index 85edc5fd14a..78c5fc56659 100644 --- a/command/acl_bootstrap_test.go +++ b/command/acl_bootstrap_test.go @@ -7,10 +7,10 @@ import ( "os" "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/ci" "github.com/hashicorp/nomad/command/agent" "github.com/hashicorp/nomad/nomad/mock" - "github.com/mitchellh/cli" "github.com/shoenig/test/must" ) diff --git a/command/acl_policy.go b/command/acl_policy.go index ca94a8048ac..b5ee4a3f5e5 100644 --- a/command/acl_policy.go +++ b/command/acl_policy.go @@ -6,7 +6,7 @@ package command import ( "strings" - "github.com/mitchellh/cli" + "github.com/hashicorp/cli" ) type ACLPolicyCommand struct { diff --git a/command/acl_policy_apply_test.go b/command/acl_policy_apply_test.go index 38794c3a5a3..d5ad88c2001 100644 --- a/command/acl_policy_apply_test.go +++ b/command/acl_policy_apply_test.go @@ -7,10 +7,10 @@ import ( "os" "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/ci" "github.com/hashicorp/nomad/command/agent" "github.com/hashicorp/nomad/nomad/mock" - "github.com/mitchellh/cli" "github.com/shoenig/test/must" ) diff --git a/command/acl_policy_delete_test.go b/command/acl_policy_delete_test.go index 1b0592700ba..c359945749a 100644 --- a/command/acl_policy_delete_test.go +++ b/command/acl_policy_delete_test.go @@ -7,12 +7,12 @@ import ( "fmt" "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/acl" "github.com/hashicorp/nomad/ci" "github.com/hashicorp/nomad/command/agent" "github.com/hashicorp/nomad/nomad/mock" "github.com/hashicorp/nomad/nomad/structs" - "github.com/mitchellh/cli" "github.com/shoenig/test/must" ) diff --git a/command/acl_policy_info_test.go b/command/acl_policy_info_test.go index acdf2ec0e81..ed9aba00db6 100644 --- a/command/acl_policy_info_test.go +++ b/command/acl_policy_info_test.go @@ -6,11 +6,11 @@ package command import ( "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/ci" "github.com/hashicorp/nomad/command/agent" "github.com/hashicorp/nomad/nomad/mock" "github.com/hashicorp/nomad/nomad/structs" - "github.com/mitchellh/cli" "github.com/shoenig/test/must" ) diff --git a/command/acl_policy_list_test.go b/command/acl_policy_list_test.go index 69c308b6982..b928eb8e8db 100644 --- a/command/acl_policy_list_test.go +++ b/command/acl_policy_list_test.go @@ -6,12 +6,12 @@ package command import ( "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/acl" "github.com/hashicorp/nomad/ci" "github.com/hashicorp/nomad/command/agent" "github.com/hashicorp/nomad/nomad/mock" "github.com/hashicorp/nomad/nomad/structs" - "github.com/mitchellh/cli" "github.com/shoenig/test/must" ) diff --git a/command/acl_role.go b/command/acl_role.go index 5eb3d0e2840..b203f03b3eb 100644 --- a/command/acl_role.go +++ b/command/acl_role.go @@ -8,8 +8,8 @@ import ( "sort" "strings" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/api" - "github.com/mitchellh/cli" ) // Ensure ACLRoleCommand satisfies the cli.Command interface. diff --git a/command/acl_role_create.go b/command/acl_role_create.go index be4b8d8a27d..bd4d11d7b19 100644 --- a/command/acl_role_create.go +++ b/command/acl_role_create.go @@ -7,8 +7,8 @@ import ( "fmt" "strings" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/api" - "github.com/mitchellh/cli" "github.com/posener/complete" ) diff --git a/command/acl_role_create_test.go b/command/acl_role_create_test.go index 7221092c3bb..69652b621d2 100644 --- a/command/acl_role_create_test.go +++ b/command/acl_role_create_test.go @@ -6,11 +6,11 @@ package command import ( "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/ci" "github.com/hashicorp/nomad/command/agent" "github.com/hashicorp/nomad/nomad/structs" "github.com/hashicorp/nomad/testutil" - "github.com/mitchellh/cli" "github.com/shoenig/test/must" ) diff --git a/command/acl_role_delete.go b/command/acl_role_delete.go index e99898dc396..9b1638231ac 100644 --- a/command/acl_role_delete.go +++ b/command/acl_role_delete.go @@ -7,7 +7,7 @@ import ( "fmt" "strings" - "github.com/mitchellh/cli" + "github.com/hashicorp/cli" "github.com/posener/complete" ) diff --git a/command/acl_role_delete_test.go b/command/acl_role_delete_test.go index ea115807e80..42f77ad2a25 100644 --- a/command/acl_role_delete_test.go +++ b/command/acl_role_delete_test.go @@ -6,12 +6,12 @@ package command import ( "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/ci" "github.com/hashicorp/nomad/command/agent" "github.com/hashicorp/nomad/helper/uuid" "github.com/hashicorp/nomad/nomad/structs" "github.com/hashicorp/nomad/testutil" - "github.com/mitchellh/cli" "github.com/shoenig/test/must" ) diff --git a/command/acl_role_info.go b/command/acl_role_info.go index a8740436ae9..d6aa4b57fd4 100644 --- a/command/acl_role_info.go +++ b/command/acl_role_info.go @@ -7,8 +7,8 @@ import ( "fmt" "strings" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/api" - "github.com/mitchellh/cli" "github.com/posener/complete" ) diff --git a/command/acl_role_info_test.go b/command/acl_role_info_test.go index ad8921a5cb6..733e34940df 100644 --- a/command/acl_role_info_test.go +++ b/command/acl_role_info_test.go @@ -7,12 +7,12 @@ import ( "fmt" "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/ci" "github.com/hashicorp/nomad/command/agent" "github.com/hashicorp/nomad/helper/uuid" "github.com/hashicorp/nomad/nomad/structs" "github.com/hashicorp/nomad/testutil" - "github.com/mitchellh/cli" "github.com/shoenig/test/must" ) diff --git a/command/acl_role_list.go b/command/acl_role_list.go index 4f0a4b200b4..c4a653040c0 100644 --- a/command/acl_role_list.go +++ b/command/acl_role_list.go @@ -7,8 +7,8 @@ import ( "fmt" "strings" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/api" - "github.com/mitchellh/cli" "github.com/posener/complete" ) diff --git a/command/acl_role_list_test.go b/command/acl_role_list_test.go index 3513aeb4d99..23c17523d5d 100644 --- a/command/acl_role_list_test.go +++ b/command/acl_role_list_test.go @@ -6,12 +6,12 @@ package command import ( "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/ci" "github.com/hashicorp/nomad/command/agent" "github.com/hashicorp/nomad/helper/uuid" "github.com/hashicorp/nomad/nomad/structs" "github.com/hashicorp/nomad/testutil" - "github.com/mitchellh/cli" "github.com/shoenig/test/must" ) diff --git a/command/acl_role_update.go b/command/acl_role_update.go index 194d554851b..08d895db616 100644 --- a/command/acl_role_update.go +++ b/command/acl_role_update.go @@ -7,8 +7,8 @@ import ( "fmt" "strings" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/api" - "github.com/mitchellh/cli" "github.com/posener/complete" ) diff --git a/command/acl_role_update_test.go b/command/acl_role_update_test.go index 394c3414e1a..25c29bc6de8 100644 --- a/command/acl_role_update_test.go +++ b/command/acl_role_update_test.go @@ -7,12 +7,12 @@ import ( "fmt" "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/ci" "github.com/hashicorp/nomad/command/agent" "github.com/hashicorp/nomad/helper/uuid" "github.com/hashicorp/nomad/nomad/structs" "github.com/hashicorp/nomad/testutil" - "github.com/mitchellh/cli" "github.com/shoenig/test/must" ) diff --git a/command/acl_token.go b/command/acl_token.go index 01b3dc5fddc..4accc4e3d48 100644 --- a/command/acl_token.go +++ b/command/acl_token.go @@ -6,7 +6,7 @@ package command import ( "strings" - "github.com/mitchellh/cli" + "github.com/hashicorp/cli" ) type ACLTokenCommand struct { diff --git a/command/acl_token_create_test.go b/command/acl_token_create_test.go index 6afc140a176..a384f324db0 100644 --- a/command/acl_token_create_test.go +++ b/command/acl_token_create_test.go @@ -7,10 +7,10 @@ import ( "encoding/json" "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/api" "github.com/hashicorp/nomad/ci" "github.com/hashicorp/nomad/command/agent" - "github.com/mitchellh/cli" "github.com/shoenig/test/must" ) diff --git a/command/acl_token_delete_test.go b/command/acl_token_delete_test.go index aaa5052b2e1..29077e5f179 100644 --- a/command/acl_token_delete_test.go +++ b/command/acl_token_delete_test.go @@ -7,12 +7,12 @@ import ( "fmt" "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/acl" "github.com/hashicorp/nomad/ci" "github.com/hashicorp/nomad/command/agent" "github.com/hashicorp/nomad/nomad/mock" "github.com/hashicorp/nomad/nomad/structs" - "github.com/mitchellh/cli" "github.com/shoenig/test/must" ) diff --git a/command/acl_token_info_test.go b/command/acl_token_info_test.go index eef8ddd82ae..9b21bc06e9c 100644 --- a/command/acl_token_info_test.go +++ b/command/acl_token_info_test.go @@ -6,11 +6,11 @@ package command import ( "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/acl" "github.com/hashicorp/nomad/command/agent" "github.com/hashicorp/nomad/nomad/mock" "github.com/hashicorp/nomad/nomad/structs" - "github.com/mitchellh/cli" "github.com/shoenig/test/must" ) diff --git a/command/acl_token_list_test.go b/command/acl_token_list_test.go index 8b87ad58f75..d9f4a797ed0 100644 --- a/command/acl_token_list_test.go +++ b/command/acl_token_list_test.go @@ -6,12 +6,12 @@ package command import ( "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/acl" "github.com/hashicorp/nomad/ci" "github.com/hashicorp/nomad/command/agent" "github.com/hashicorp/nomad/nomad/mock" "github.com/hashicorp/nomad/nomad/structs" - "github.com/mitchellh/cli" "github.com/shoenig/test/must" ) diff --git a/command/acl_token_self_test.go b/command/acl_token_self_test.go index 96e4929584c..c3e1b3de564 100644 --- a/command/acl_token_self_test.go +++ b/command/acl_token_self_test.go @@ -6,11 +6,11 @@ package command import ( "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/acl" "github.com/hashicorp/nomad/command/agent" "github.com/hashicorp/nomad/nomad/mock" "github.com/hashicorp/nomad/nomad/structs" - "github.com/mitchellh/cli" "github.com/shoenig/test/must" ) diff --git a/command/acl_token_update_test.go b/command/acl_token_update_test.go index 28fb3831bf2..42ebdcdd5f7 100644 --- a/command/acl_token_update_test.go +++ b/command/acl_token_update_test.go @@ -6,12 +6,12 @@ package command import ( "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/acl" "github.com/hashicorp/nomad/ci" "github.com/hashicorp/nomad/command/agent" "github.com/hashicorp/nomad/nomad/mock" "github.com/hashicorp/nomad/nomad/structs" - "github.com/mitchellh/cli" "github.com/shoenig/test/must" ) diff --git a/command/agent/command.go b/command/agent/command.go index 088bf9a819c..72315cd33cd 100644 --- a/command/agent/command.go +++ b/command/agent/command.go @@ -23,6 +23,7 @@ import ( "github.com/armon/go-metrics/circonus" "github.com/armon/go-metrics/datadog" "github.com/armon/go-metrics/prometheus" + "github.com/hashicorp/cli" checkpoint "github.com/hashicorp/go-checkpoint" discover "github.com/hashicorp/go-discover" hclog "github.com/hashicorp/go-hclog" @@ -36,7 +37,6 @@ import ( "github.com/hashicorp/nomad/nomad/structs" "github.com/hashicorp/nomad/nomad/structs/config" "github.com/hashicorp/nomad/version" - "github.com/mitchellh/cli" "github.com/posener/complete" ) diff --git a/command/agent/command_test.go b/command/agent/command_test.go index 014f9a5d4f0..0c58e5c2fa1 100644 --- a/command/agent/command_test.go +++ b/command/agent/command_test.go @@ -11,9 +11,9 @@ import ( "strings" "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/ci" "github.com/hashicorp/nomad/helper/pointer" - "github.com/mitchellh/cli" "github.com/shoenig/test/must" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" diff --git a/command/agent/retry_join_test.go b/command/agent/retry_join_test.go index 20eac30a65e..8c9fc520084 100644 --- a/command/agent/retry_join_test.go +++ b/command/agent/retry_join_test.go @@ -12,12 +12,12 @@ import ( "testing" "time" + "github.com/hashicorp/cli" "github.com/hashicorp/go-netaddrs" "github.com/hashicorp/nomad/ci" "github.com/hashicorp/nomad/helper" "github.com/hashicorp/nomad/helper/testlog" "github.com/hashicorp/nomad/testutil" - "github.com/mitchellh/cli" "github.com/shoenig/test/must" "github.com/stretchr/testify/require" ) diff --git a/command/agent_info_test.go b/command/agent_info_test.go index 61800428aa4..607b916fd26 100644 --- a/command/agent_info_test.go +++ b/command/agent_info_test.go @@ -6,8 +6,8 @@ package command import ( "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/ci" - "github.com/mitchellh/cli" "github.com/shoenig/test/must" ) diff --git a/command/agent_monitor.go b/command/agent_monitor.go index 2afa684223e..e6b9ffcf8b4 100644 --- a/command/agent_monitor.go +++ b/command/agent_monitor.go @@ -13,8 +13,8 @@ import ( "syscall" "time" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/api" - "github.com/mitchellh/cli" ) type MonitorCommand struct { diff --git a/command/agent_monitor_test.go b/command/agent_monitor_test.go index a69ca3514fa..ecd8feeb345 100644 --- a/command/agent_monitor_test.go +++ b/command/agent_monitor_test.go @@ -6,8 +6,8 @@ package command import ( "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/ci" - "github.com/mitchellh/cli" "github.com/shoenig/test/must" ) diff --git a/command/alloc.go b/command/alloc.go index 15cee7b9b7f..ebd18ada0a5 100644 --- a/command/alloc.go +++ b/command/alloc.go @@ -6,7 +6,7 @@ package command import ( "strings" - "github.com/mitchellh/cli" + "github.com/hashicorp/cli" ) type AllocCommand struct { diff --git a/command/alloc_checks_test.go b/command/alloc_checks_test.go index 652bce0a368..ba07f6d29fd 100644 --- a/command/alloc_checks_test.go +++ b/command/alloc_checks_test.go @@ -7,11 +7,11 @@ import ( "encoding/json" "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/api" "github.com/hashicorp/nomad/ci" "github.com/hashicorp/nomad/nomad/mock" "github.com/hashicorp/nomad/nomad/structs" - "github.com/mitchellh/cli" "github.com/posener/complete" "github.com/shoenig/test/must" ) diff --git a/command/alloc_exec_test.go b/command/alloc_exec_test.go index 3c730d65f02..a270ffd566c 100644 --- a/command/alloc_exec_test.go +++ b/command/alloc_exec_test.go @@ -9,12 +9,12 @@ import ( "strings" "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/ci" "github.com/hashicorp/nomad/helper/uuid" "github.com/hashicorp/nomad/nomad/mock" "github.com/hashicorp/nomad/nomad/structs" "github.com/hashicorp/nomad/testutil" - "github.com/mitchellh/cli" "github.com/posener/complete" "github.com/shoenig/test/must" ) diff --git a/command/alloc_fs_test.go b/command/alloc_fs_test.go index 9e6ef96b7f1..a21959c9e1e 100644 --- a/command/alloc_fs_test.go +++ b/command/alloc_fs_test.go @@ -6,10 +6,10 @@ package command import ( "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/ci" "github.com/hashicorp/nomad/nomad/mock" "github.com/hashicorp/nomad/nomad/structs" - "github.com/mitchellh/cli" "github.com/posener/complete" "github.com/shoenig/test/must" ) diff --git a/command/alloc_logs_test.go b/command/alloc_logs_test.go index 5cee74972ec..8b866f240fc 100644 --- a/command/alloc_logs_test.go +++ b/command/alloc_logs_test.go @@ -6,10 +6,10 @@ package command import ( "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/ci" "github.com/hashicorp/nomad/nomad/mock" "github.com/hashicorp/nomad/nomad/structs" - "github.com/mitchellh/cli" "github.com/posener/complete" "github.com/shoenig/test/must" ) diff --git a/command/alloc_pause_test.go b/command/alloc_pause_test.go index 810a62e9eb9..3a6eea71625 100644 --- a/command/alloc_pause_test.go +++ b/command/alloc_pause_test.go @@ -6,8 +6,8 @@ package command import ( "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/ci" - "github.com/mitchellh/cli" ) func TestAllocPauseCommand_Implements(t *testing.T) { diff --git a/command/alloc_restart_test.go b/command/alloc_restart_test.go index 0596f01e69a..c098417a325 100644 --- a/command/alloc_restart_test.go +++ b/command/alloc_restart_test.go @@ -6,10 +6,10 @@ package command import ( "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/ci" "github.com/hashicorp/nomad/nomad/mock" "github.com/hashicorp/nomad/nomad/structs" - "github.com/mitchellh/cli" "github.com/posener/complete" "github.com/shoenig/test/must" ) diff --git a/command/alloc_signal_test.go b/command/alloc_signal_test.go index f27bb64dc06..eb0f3877d98 100644 --- a/command/alloc_signal_test.go +++ b/command/alloc_signal_test.go @@ -6,10 +6,10 @@ package command import ( "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/ci" "github.com/hashicorp/nomad/nomad/mock" "github.com/hashicorp/nomad/nomad/structs" - "github.com/mitchellh/cli" "github.com/posener/complete" "github.com/shoenig/test/must" ) diff --git a/command/alloc_status_test.go b/command/alloc_status_test.go index 6260b7963f1..600f074c3a6 100644 --- a/command/alloc_status_test.go +++ b/command/alloc_status_test.go @@ -9,12 +9,12 @@ import ( "testing" "time" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/ci" "github.com/hashicorp/nomad/command/agent" "github.com/hashicorp/nomad/helper/uuid" "github.com/hashicorp/nomad/nomad/mock" "github.com/hashicorp/nomad/nomad/structs" - "github.com/mitchellh/cli" "github.com/posener/complete" "github.com/shoenig/test/must" ) diff --git a/command/alloc_stop_test.go b/command/alloc_stop_test.go index a1f5e176c12..9923227b18c 100644 --- a/command/alloc_stop_test.go +++ b/command/alloc_stop_test.go @@ -6,8 +6,8 @@ package command import ( "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/ci" - "github.com/mitchellh/cli" "github.com/shoenig/test/must" ) diff --git a/command/check_test.go b/command/check_test.go index a397c6b9284..8e531ac5d64 100644 --- a/command/check_test.go +++ b/command/check_test.go @@ -7,8 +7,8 @@ import ( "fmt" "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/ci" - "github.com/mitchellh/cli" "github.com/shoenig/test/must" ) diff --git a/command/commands.go b/command/commands.go index 89e0b35a11b..a29e97ea726 100644 --- a/command/commands.go +++ b/command/commands.go @@ -7,10 +7,10 @@ import ( "fmt" "os" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/command/agent" "github.com/hashicorp/nomad/version" colorable "github.com/mattn/go-colorable" - "github.com/mitchellh/cli" ) const ( diff --git a/command/commands_ce.go b/command/commands_ce.go index 3a45a07e8e8..f8445f2963a 100644 --- a/command/commands_ce.go +++ b/command/commands_ce.go @@ -6,7 +6,7 @@ package command -import "github.com/mitchellh/cli" +import "github.com/hashicorp/cli" func EntCommands(metaPtr *Meta, agentUi cli.Ui) map[string]cli.CommandFactory { return map[string]cli.CommandFactory{} diff --git a/command/config.go b/command/config.go index cce4e0ec385..705a54e6f42 100644 --- a/command/config.go +++ b/command/config.go @@ -6,7 +6,7 @@ package command import ( "strings" - "github.com/mitchellh/cli" + "github.com/hashicorp/cli" ) type ConfigCommand struct { diff --git a/command/config_validate_test.go b/command/config_validate_test.go index 64c98eab08d..3dc93e85720 100644 --- a/command/config_validate_test.go +++ b/command/config_validate_test.go @@ -8,8 +8,8 @@ import ( "path/filepath" "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/ci" - "github.com/mitchellh/cli" "github.com/shoenig/test/must" ) diff --git a/command/deployment.go b/command/deployment.go index 45e83344f7f..203d10a3039 100644 --- a/command/deployment.go +++ b/command/deployment.go @@ -6,7 +6,7 @@ package command import ( "strings" - "github.com/mitchellh/cli" + "github.com/hashicorp/cli" ) type DeploymentCommand struct { diff --git a/command/deployment_fail_test.go b/command/deployment_fail_test.go index c6d3c72330d..8559a6bd12e 100644 --- a/command/deployment_fail_test.go +++ b/command/deployment_fail_test.go @@ -7,9 +7,9 @@ import ( "strings" "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/ci" "github.com/hashicorp/nomad/nomad/mock" - "github.com/mitchellh/cli" "github.com/posener/complete" "github.com/shoenig/test/must" ) diff --git a/command/deployment_list_test.go b/command/deployment_list_test.go index a1496068908..dca404ebaf0 100644 --- a/command/deployment_list_test.go +++ b/command/deployment_list_test.go @@ -7,8 +7,8 @@ import ( "strings" "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/ci" - "github.com/mitchellh/cli" ) func TestDeploymentListCommand_Implements(t *testing.T) { diff --git a/command/deployment_pause_test.go b/command/deployment_pause_test.go index f8356af7cac..379bd65e924 100644 --- a/command/deployment_pause_test.go +++ b/command/deployment_pause_test.go @@ -7,9 +7,9 @@ import ( "strings" "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/ci" "github.com/hashicorp/nomad/nomad/mock" - "github.com/mitchellh/cli" "github.com/posener/complete" "github.com/shoenig/test/must" ) diff --git a/command/deployment_promote_test.go b/command/deployment_promote_test.go index 38aefcddb9e..4bdeeefba80 100644 --- a/command/deployment_promote_test.go +++ b/command/deployment_promote_test.go @@ -7,9 +7,9 @@ import ( "strings" "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/ci" "github.com/hashicorp/nomad/nomad/mock" - "github.com/mitchellh/cli" "github.com/posener/complete" "github.com/shoenig/test/must" ) diff --git a/command/deployment_resume_test.go b/command/deployment_resume_test.go index ee4f97c1922..188aeea0068 100644 --- a/command/deployment_resume_test.go +++ b/command/deployment_resume_test.go @@ -7,9 +7,9 @@ import ( "strings" "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/ci" "github.com/hashicorp/nomad/nomad/mock" - "github.com/mitchellh/cli" "github.com/posener/complete" "github.com/shoenig/test/must" ) diff --git a/command/deployment_status_test.go b/command/deployment_status_test.go index 62e86428203..6bc91eb7765 100644 --- a/command/deployment_status_test.go +++ b/command/deployment_status_test.go @@ -6,9 +6,9 @@ package command import ( "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/ci" "github.com/hashicorp/nomad/nomad/mock" - "github.com/mitchellh/cli" "github.com/posener/complete" "github.com/shoenig/test/must" ) diff --git a/command/deployment_unblock_test.go b/command/deployment_unblock_test.go index 96430fc71f5..6ef27f6ecf5 100644 --- a/command/deployment_unblock_test.go +++ b/command/deployment_unblock_test.go @@ -7,9 +7,9 @@ import ( "strings" "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/ci" "github.com/hashicorp/nomad/nomad/mock" - "github.com/mitchellh/cli" "github.com/posener/complete" "github.com/shoenig/test/must" ) diff --git a/command/eval.go b/command/eval.go index d2e0edd18fb..993a5b4c05c 100644 --- a/command/eval.go +++ b/command/eval.go @@ -6,7 +6,7 @@ package command import ( "strings" - "github.com/mitchellh/cli" + "github.com/hashicorp/cli" ) type EvalCommand struct { diff --git a/command/eval_delete_test.go b/command/eval_delete_test.go index 9ada56f5091..97e6cd7beb2 100644 --- a/command/eval_delete_test.go +++ b/command/eval_delete_test.go @@ -8,8 +8,8 @@ import ( "fmt" "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/ci" - "github.com/mitchellh/cli" "github.com/shoenig/test/must" ) diff --git a/command/eval_status_test.go b/command/eval_status_test.go index fa8f393c047..dc15cb3a1bb 100644 --- a/command/eval_status_test.go +++ b/command/eval_status_test.go @@ -7,10 +7,10 @@ import ( "strings" "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/ci" "github.com/hashicorp/nomad/nomad/mock" "github.com/hashicorp/nomad/nomad/structs" - "github.com/mitchellh/cli" "github.com/posener/complete" "github.com/shoenig/test/must" ) diff --git a/command/event.go b/command/event.go index 29033d97b4e..3aafcc04338 100644 --- a/command/event.go +++ b/command/event.go @@ -6,7 +6,7 @@ package command import ( "strings" - "github.com/mitchellh/cli" + "github.com/hashicorp/cli" ) var _ cli.Command = &EventCommand{} diff --git a/command/event_test.go b/command/event_test.go index 6175e41e91e..fa5975d8f77 100644 --- a/command/event_test.go +++ b/command/event_test.go @@ -6,8 +6,8 @@ package command import ( "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/ci" - "github.com/mitchellh/cli" "github.com/shoenig/test/must" ) diff --git a/command/fmt_test.go b/command/fmt_test.go index a2cf0f028fa..20bbf918c4e 100644 --- a/command/fmt_test.go +++ b/command/fmt_test.go @@ -10,8 +10,8 @@ import ( "path/filepath" "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/ci" - "github.com/mitchellh/cli" "github.com/shoenig/test/must" ) diff --git a/command/helper_devices.go b/command/helper_devices.go index 1a61d874af5..4f6a0c432b1 100644 --- a/command/helper_devices.go +++ b/command/helper_devices.go @@ -7,8 +7,8 @@ import ( "fmt" "sort" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/api" - "github.com/mitchellh/cli" ) func deviceQualifiedID(vendor, typ, name, id string) string { diff --git a/command/helpers.go b/command/helpers.go index d434117ee01..d2d2a7d3667 100644 --- a/command/helpers.go +++ b/command/helpers.go @@ -16,12 +16,12 @@ import ( "strings" "time" + "github.com/hashicorp/cli" gg "github.com/hashicorp/go-getter" "github.com/hashicorp/nomad/api" flaghelper "github.com/hashicorp/nomad/helper/flags" "github.com/hashicorp/nomad/jobspec2" "github.com/kr/text" - "github.com/mitchellh/cli" "github.com/moby/term" "github.com/posener/complete" "github.com/ryanuber/columnize" diff --git a/command/helpers_test.go b/command/helpers_test.go index bacd5a81ba5..c6b0c4dae45 100644 --- a/command/helpers_test.go +++ b/command/helpers_test.go @@ -16,13 +16,13 @@ import ( "testing" "time" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/api" "github.com/hashicorp/nomad/ci" "github.com/hashicorp/nomad/client/testutil" "github.com/hashicorp/nomad/helper/flatmap" "github.com/hashicorp/nomad/helper/pointer" "github.com/kr/pretty" - "github.com/mitchellh/cli" "github.com/shoenig/test/must" ) diff --git a/command/job.go b/command/job.go index 8ad42b7a2da..d19ff24475b 100644 --- a/command/job.go +++ b/command/job.go @@ -6,7 +6,7 @@ package command import ( "strings" - "github.com/mitchellh/cli" + "github.com/hashicorp/cli" ) type JobCommand struct { diff --git a/command/job_allocs_test.go b/command/job_allocs_test.go index 4f51eec6fdd..6ceee1f2d74 100644 --- a/command/job_allocs_test.go +++ b/command/job_allocs_test.go @@ -6,12 +6,12 @@ package command import ( "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/api" "github.com/hashicorp/nomad/ci" "github.com/hashicorp/nomad/command/agent" "github.com/hashicorp/nomad/nomad/mock" "github.com/hashicorp/nomad/nomad/structs" - "github.com/mitchellh/cli" "github.com/posener/complete" "github.com/shoenig/test/must" ) diff --git a/command/job_deployments_test.go b/command/job_deployments_test.go index ab1f4336675..fdbf98c54e1 100644 --- a/command/job_deployments_test.go +++ b/command/job_deployments_test.go @@ -7,12 +7,12 @@ import ( "strings" "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/api" "github.com/hashicorp/nomad/ci" "github.com/hashicorp/nomad/command/agent" "github.com/hashicorp/nomad/nomad/mock" "github.com/hashicorp/nomad/nomad/structs" - "github.com/mitchellh/cli" "github.com/posener/complete" "github.com/shoenig/test/must" ) diff --git a/command/job_dispatch_test.go b/command/job_dispatch_test.go index d5e65796a25..30e8c95f9b8 100644 --- a/command/job_dispatch_test.go +++ b/command/job_dispatch_test.go @@ -7,12 +7,12 @@ import ( "strings" "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/api" "github.com/hashicorp/nomad/ci" "github.com/hashicorp/nomad/command/agent" "github.com/hashicorp/nomad/nomad/mock" "github.com/hashicorp/nomad/nomad/structs" - "github.com/mitchellh/cli" "github.com/posener/complete" "github.com/shoenig/test/must" ) diff --git a/command/job_eval_test.go b/command/job_eval_test.go index fd081b9ee97..93e56e58a25 100644 --- a/command/job_eval_test.go +++ b/command/job_eval_test.go @@ -8,13 +8,13 @@ import ( "strings" "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/api" "github.com/hashicorp/nomad/ci" "github.com/hashicorp/nomad/command/agent" "github.com/hashicorp/nomad/nomad/mock" "github.com/hashicorp/nomad/nomad/structs" "github.com/hashicorp/nomad/testutil" - "github.com/mitchellh/cli" "github.com/posener/complete" "github.com/shoenig/test/must" ) diff --git a/command/job_history_test.go b/command/job_history_test.go index a30256f1802..25fdc0e7720 100644 --- a/command/job_history_test.go +++ b/command/job_history_test.go @@ -7,12 +7,12 @@ import ( "strings" "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/api" "github.com/hashicorp/nomad/ci" "github.com/hashicorp/nomad/command/agent" "github.com/hashicorp/nomad/nomad/mock" "github.com/hashicorp/nomad/nomad/structs" - "github.com/mitchellh/cli" "github.com/posener/complete" "github.com/shoenig/test/must" ) diff --git a/command/job_init_test.go b/command/job_init_test.go index 556d66539f4..823fc48d02e 100644 --- a/command/job_init_test.go +++ b/command/job_init_test.go @@ -9,9 +9,9 @@ import ( "strings" "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/ci" "github.com/hashicorp/nomad/command/asset" - "github.com/mitchellh/cli" "github.com/shoenig/test/must" ) diff --git a/command/job_inspect_test.go b/command/job_inspect_test.go index f09a0bee0b9..fdf3c645eab 100644 --- a/command/job_inspect_test.go +++ b/command/job_inspect_test.go @@ -7,12 +7,12 @@ import ( "strings" "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/api" "github.com/hashicorp/nomad/ci" "github.com/hashicorp/nomad/command/agent" "github.com/hashicorp/nomad/nomad/mock" "github.com/hashicorp/nomad/nomad/structs" - "github.com/mitchellh/cli" "github.com/posener/complete" "github.com/shoenig/test/must" ) diff --git a/command/job_periodic.go b/command/job_periodic.go index 10deacb690f..1abf56ea41f 100644 --- a/command/job_periodic.go +++ b/command/job_periodic.go @@ -6,7 +6,7 @@ package command import ( "strings" - "github.com/mitchellh/cli" + "github.com/hashicorp/cli" ) type JobPeriodicCommand struct { diff --git a/command/job_periodic_force_test.go b/command/job_periodic_force_test.go index 730240ed4b2..e80a6e40756 100644 --- a/command/job_periodic_force_test.go +++ b/command/job_periodic_force_test.go @@ -7,6 +7,7 @@ import ( "fmt" "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/api" "github.com/hashicorp/nomad/ci" "github.com/hashicorp/nomad/command/agent" @@ -14,7 +15,6 @@ import ( "github.com/hashicorp/nomad/nomad/mock" "github.com/hashicorp/nomad/nomad/structs" "github.com/hashicorp/nomad/testutil" - "github.com/mitchellh/cli" "github.com/posener/complete" "github.com/shoenig/test/must" ) diff --git a/command/job_plan_test.go b/command/job_plan_test.go index aafd17fd607..5d1b767fa8f 100644 --- a/command/job_plan_test.go +++ b/command/job_plan_test.go @@ -9,11 +9,11 @@ import ( "strings" "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/api" "github.com/hashicorp/nomad/ci" "github.com/hashicorp/nomad/helper/pointer" "github.com/hashicorp/nomad/testutil" - "github.com/mitchellh/cli" "github.com/shoenig/test/must" ) diff --git a/command/job_promote_test.go b/command/job_promote_test.go index 299bb370438..b589aaad5e3 100644 --- a/command/job_promote_test.go +++ b/command/job_promote_test.go @@ -7,12 +7,12 @@ import ( "strings" "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/api" "github.com/hashicorp/nomad/ci" "github.com/hashicorp/nomad/command/agent" "github.com/hashicorp/nomad/nomad/mock" "github.com/hashicorp/nomad/nomad/structs" - "github.com/mitchellh/cli" "github.com/posener/complete" "github.com/shoenig/test/must" ) diff --git a/command/job_restart_test.go b/command/job_restart_test.go index 7ab11abd9d1..d035d315e19 100644 --- a/command/job_restart_test.go +++ b/command/job_restart_test.go @@ -18,13 +18,13 @@ import ( "time" "github.com/google/go-cmp/cmp/cmpopts" + "github.com/hashicorp/cli" "github.com/hashicorp/go-set/v3" "github.com/hashicorp/nomad/api" "github.com/hashicorp/nomad/ci" "github.com/hashicorp/nomad/command/agent" "github.com/hashicorp/nomad/helper/pointer" "github.com/hashicorp/nomad/testutil" - "github.com/mitchellh/cli" "github.com/shoenig/test/must" "github.com/shoenig/test/wait" ) diff --git a/command/job_revert_test.go b/command/job_revert_test.go index a57179f3508..0939ca02add 100644 --- a/command/job_revert_test.go +++ b/command/job_revert_test.go @@ -7,12 +7,12 @@ import ( "strings" "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/api" "github.com/hashicorp/nomad/ci" "github.com/hashicorp/nomad/command/agent" "github.com/hashicorp/nomad/nomad/mock" structs "github.com/hashicorp/nomad/nomad/structs" - "github.com/mitchellh/cli" "github.com/posener/complete" "github.com/shoenig/test/must" ) diff --git a/command/job_run_test.go b/command/job_run_test.go index 97505e05a98..95414fbf8dc 100644 --- a/command/job_run_test.go +++ b/command/job_run_test.go @@ -12,9 +12,9 @@ import ( "testing" "time" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/ci" "github.com/hashicorp/nomad/testutil" - "github.com/mitchellh/cli" "github.com/shoenig/test/must" ) diff --git a/command/job_scale.go b/command/job_scale.go index 626f27c3394..928763f580f 100644 --- a/command/job_scale.go +++ b/command/job_scale.go @@ -10,9 +10,9 @@ import ( "strings" "time" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/api" "github.com/hashicorp/nomad/helper/pointer" - "github.com/mitchellh/cli" "github.com/posener/complete" ) diff --git a/command/job_scale_test.go b/command/job_scale_test.go index d65f743eda2..ba15812d541 100644 --- a/command/job_scale_test.go +++ b/command/job_scale_test.go @@ -8,6 +8,7 @@ import ( "strings" "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/api" "github.com/hashicorp/nomad/ci" "github.com/hashicorp/nomad/command/agent" @@ -15,7 +16,6 @@ import ( "github.com/hashicorp/nomad/nomad/mock" "github.com/hashicorp/nomad/nomad/structs" "github.com/hashicorp/nomad/testutil" - "github.com/mitchellh/cli" "github.com/shoenig/test/must" ) diff --git a/command/job_scaling_events.go b/command/job_scaling_events.go index c9a5343b2c3..6e8967bd3ae 100644 --- a/command/job_scaling_events.go +++ b/command/job_scaling_events.go @@ -10,8 +10,8 @@ import ( "strings" "time" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/api" - "github.com/mitchellh/cli" "github.com/posener/complete" ) diff --git a/command/job_scaling_events_test.go b/command/job_scaling_events_test.go index 67363512829..c30b22da295 100644 --- a/command/job_scaling_events_test.go +++ b/command/job_scaling_events_test.go @@ -8,6 +8,7 @@ import ( "strings" "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/api" "github.com/hashicorp/nomad/ci" "github.com/hashicorp/nomad/command/agent" @@ -15,7 +16,6 @@ import ( "github.com/hashicorp/nomad/nomad/mock" "github.com/hashicorp/nomad/nomad/structs" "github.com/hashicorp/nomad/testutil" - "github.com/mitchellh/cli" "github.com/shoenig/test/must" ) diff --git a/command/job_status_test.go b/command/job_status_test.go index 90800a52786..48eaa07485a 100644 --- a/command/job_status_test.go +++ b/command/job_status_test.go @@ -10,13 +10,13 @@ import ( "testing" "time" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/api" "github.com/hashicorp/nomad/ci" "github.com/hashicorp/nomad/command/agent" "github.com/hashicorp/nomad/nomad/mock" "github.com/hashicorp/nomad/nomad/structs" "github.com/hashicorp/nomad/testutil" - "github.com/mitchellh/cli" "github.com/posener/complete" "github.com/shoenig/test/must" ) @@ -55,7 +55,7 @@ func TestJobStatusCommand_Run(t *testing.T) { } // Check for this awkward nil string, since a nil bytes.Buffer - // returns this purposely, and mitchellh/cli has a nil pointer + // returns this purposely, and hashicorp/cli has a nil pointer // if nothing was ever output. exp := "No running jobs" if out := strings.TrimSpace(ui.OutputWriter.String()); out != exp { diff --git a/command/job_stop_test.go b/command/job_stop_test.go index be39009b884..a340b96410e 100644 --- a/command/job_stop_test.go +++ b/command/job_stop_test.go @@ -9,6 +9,7 @@ import ( "path/filepath" "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/api" "github.com/hashicorp/nomad/ci" "github.com/hashicorp/nomad/command/agent" @@ -16,7 +17,6 @@ import ( "github.com/hashicorp/nomad/helper/uuid" "github.com/hashicorp/nomad/nomad/mock" "github.com/hashicorp/nomad/nomad/structs" - "github.com/mitchellh/cli" "github.com/posener/complete" "github.com/shoenig/test/must" ) diff --git a/command/job_tag.go b/command/job_tag.go index 3dca8700bf3..b9a72945e1c 100644 --- a/command/job_tag.go +++ b/command/job_tag.go @@ -6,7 +6,7 @@ package command import ( "strings" - "github.com/mitchellh/cli" + "github.com/hashicorp/cli" ) type JobTagCommand struct { diff --git a/command/job_tag_test.go b/command/job_tag_test.go index 8fb313d9b4f..6a465f5dbee 100644 --- a/command/job_tag_test.go +++ b/command/job_tag_test.go @@ -6,10 +6,10 @@ package command import ( "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/ci" "github.com/hashicorp/nomad/nomad/mock" "github.com/hashicorp/nomad/nomad/structs" - "github.com/mitchellh/cli" "github.com/shoenig/test/must" ) diff --git a/command/job_validate_test.go b/command/job_validate_test.go index 52163f1d4f9..5a6253c7a7e 100644 --- a/command/job_validate_test.go +++ b/command/job_validate_test.go @@ -8,10 +8,10 @@ import ( "strings" "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/ci" "github.com/hashicorp/nomad/helper/pointer" "github.com/hashicorp/nomad/testutil" - "github.com/mitchellh/cli" "github.com/shoenig/test/must" ) diff --git a/command/license.go b/command/license.go index c26839754c8..fd96030a34a 100644 --- a/command/license.go +++ b/command/license.go @@ -8,8 +8,8 @@ import ( "strings" "time" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/api" - "github.com/mitchellh/cli" ) var _ cli.Command = &LicenseCommand{} diff --git a/command/license_get_test.go b/command/license_get_test.go index fed0d459440..dfd13ea970e 100644 --- a/command/license_get_test.go +++ b/command/license_get_test.go @@ -7,9 +7,9 @@ import ( "testing" "time" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/api" "github.com/hashicorp/nomad/ci" - "github.com/mitchellh/cli" "github.com/shoenig/test/must" ) diff --git a/command/login.go b/command/login.go index d61a7896dfd..a30eb22f540 100644 --- a/command/login.go +++ b/command/login.go @@ -11,7 +11,7 @@ import ( "strings" "github.com/hashicorp/cap/util" - "github.com/mitchellh/cli" + "github.com/hashicorp/cli" "github.com/posener/complete" "github.com/hashicorp/nomad/api" diff --git a/command/login_test.go b/command/login_test.go index 3aacb5e6866..47815a8baac 100644 --- a/command/login_test.go +++ b/command/login_test.go @@ -6,11 +6,11 @@ package command import ( "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/ci" "github.com/hashicorp/nomad/command/agent" "github.com/hashicorp/nomad/nomad/structs" "github.com/hashicorp/nomad/testutil" - "github.com/mitchellh/cli" "github.com/shoenig/test/must" ) diff --git a/command/meta.go b/command/meta.go index 6e7f628c949..da641896abe 100644 --- a/command/meta.go +++ b/command/meta.go @@ -10,10 +10,10 @@ import ( "reflect" "strings" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/api" "github.com/hashicorp/nomad/helper/pointer" colorable "github.com/mattn/go-colorable" - "github.com/mitchellh/cli" "github.com/mitchellh/colorstring" "github.com/posener/complete" "golang.org/x/crypto/ssh/terminal" diff --git a/command/meta_test.go b/command/meta_test.go index dd07837dcf9..208dd15cb22 100644 --- a/command/meta_test.go +++ b/command/meta_test.go @@ -11,10 +11,10 @@ import ( "testing" "github.com/creack/pty" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/api" "github.com/hashicorp/nomad/ci" "github.com/hashicorp/nomad/helper/pointer" - "github.com/mitchellh/cli" "github.com/shoenig/test/must" ) diff --git a/command/metrics_test.go b/command/metrics_test.go index a3d369a5251..3df10897c28 100644 --- a/command/metrics_test.go +++ b/command/metrics_test.go @@ -6,8 +6,8 @@ package command import ( "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/ci" - "github.com/mitchellh/cli" "github.com/shoenig/test/must" ) diff --git a/command/monitor.go b/command/monitor.go index 9a8e994c794..6622537410b 100644 --- a/command/monitor.go +++ b/command/monitor.go @@ -10,8 +10,8 @@ import ( "sync" "time" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/api" - "github.com/mitchellh/cli" ) const ( diff --git a/command/monitor_test.go b/command/monitor_test.go index 1466b20b233..b6bf1eef789 100644 --- a/command/monitor_test.go +++ b/command/monitor_test.go @@ -9,11 +9,11 @@ import ( "testing" "time" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/api" "github.com/hashicorp/nomad/ci" "github.com/hashicorp/nomad/helper/pointer" "github.com/hashicorp/nomad/nomad/structs" - "github.com/mitchellh/cli" "github.com/shoenig/test/must" "github.com/shoenig/test/wait" ) diff --git a/command/namespace.go b/command/namespace.go index a02c4e23fed..4dca28f22a4 100644 --- a/command/namespace.go +++ b/command/namespace.go @@ -6,8 +6,8 @@ package command import ( "strings" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/api/contexts" - "github.com/mitchellh/cli" "github.com/posener/complete" ) diff --git a/command/namespace_apply_test.go b/command/namespace_apply_test.go index a93518f16f2..89a8c76d063 100644 --- a/command/namespace_apply_test.go +++ b/command/namespace_apply_test.go @@ -7,9 +7,9 @@ import ( "strings" "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/api" "github.com/hashicorp/nomad/ci" - "github.com/mitchellh/cli" "github.com/shoenig/test/must" ) diff --git a/command/namespace_delete_test.go b/command/namespace_delete_test.go index d0bc5a06a11..a099fc9dc3b 100644 --- a/command/namespace_delete_test.go +++ b/command/namespace_delete_test.go @@ -7,9 +7,9 @@ import ( "strings" "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/api" "github.com/hashicorp/nomad/ci" - "github.com/mitchellh/cli" "github.com/posener/complete" "github.com/shoenig/test/must" ) diff --git a/command/namespace_inspect_test.go b/command/namespace_inspect_test.go index f7554db7ff9..b83c9fd2f5e 100644 --- a/command/namespace_inspect_test.go +++ b/command/namespace_inspect_test.go @@ -7,9 +7,9 @@ import ( "strings" "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/api" "github.com/hashicorp/nomad/ci" - "github.com/mitchellh/cli" "github.com/posener/complete" "github.com/shoenig/test/must" ) diff --git a/command/namespace_list_test.go b/command/namespace_list_test.go index d369aca06de..e7b4f1e36d0 100644 --- a/command/namespace_list_test.go +++ b/command/namespace_list_test.go @@ -7,8 +7,8 @@ import ( "strings" "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/ci" - "github.com/mitchellh/cli" ) var _ cli.Command = (*NamespaceListCommand)(nil) diff --git a/command/namespace_status_test.go b/command/namespace_status_test.go index a1264d48a98..6680638b65a 100644 --- a/command/namespace_status_test.go +++ b/command/namespace_status_test.go @@ -8,9 +8,9 @@ import ( "strings" "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/api" "github.com/hashicorp/nomad/ci" - "github.com/mitchellh/cli" "github.com/posener/complete" "github.com/shoenig/test/must" ) diff --git a/command/node.go b/command/node.go index 3498c8d7f58..2d0bdbd1ec6 100644 --- a/command/node.go +++ b/command/node.go @@ -8,8 +8,8 @@ import ( "sort" "strings" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/api" - "github.com/mitchellh/cli" ) type NodeCommand struct { diff --git a/command/node_config_test.go b/command/node_config_test.go index 2a7482dd8c9..471cf9fac63 100644 --- a/command/node_config_test.go +++ b/command/node_config_test.go @@ -7,9 +7,9 @@ import ( "strings" "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/ci" "github.com/hashicorp/nomad/command/agent" - "github.com/mitchellh/cli" ) func TestClientConfigCommand_Implements(t *testing.T) { diff --git a/command/node_drain_test.go b/command/node_drain_test.go index 4e5a1bafc1b..880b42535c9 100644 --- a/command/node_drain_test.go +++ b/command/node_drain_test.go @@ -10,12 +10,12 @@ import ( "testing" "time" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/api" "github.com/hashicorp/nomad/ci" "github.com/hashicorp/nomad/command/agent" "github.com/hashicorp/nomad/helper/pointer" "github.com/hashicorp/nomad/testutil" - "github.com/mitchellh/cli" "github.com/posener/complete" "github.com/shoenig/test/must" ) diff --git a/command/node_eligibility_test.go b/command/node_eligibility_test.go index 95de5dece25..8ed7215e79e 100644 --- a/command/node_eligibility_test.go +++ b/command/node_eligibility_test.go @@ -8,9 +8,9 @@ import ( "strings" "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/ci" "github.com/hashicorp/nomad/testutil" - "github.com/mitchellh/cli" "github.com/posener/complete" "github.com/shoenig/test/must" ) diff --git a/command/node_meta.go b/command/node_meta.go index e4987a591f0..24fab0c03ab 100644 --- a/command/node_meta.go +++ b/command/node_meta.go @@ -6,7 +6,7 @@ package command import ( "strings" - "github.com/mitchellh/cli" + "github.com/hashicorp/cli" ) type NodeMetaCommand struct { diff --git a/command/node_pool.go b/command/node_pool.go index 66782ecd4a1..b4721863fef 100644 --- a/command/node_pool.go +++ b/command/node_pool.go @@ -7,10 +7,10 @@ import ( "fmt" "strings" + "github.com/hashicorp/cli" "github.com/hashicorp/go-set/v3" "github.com/hashicorp/nomad/api" "github.com/hashicorp/nomad/api/contexts" - "github.com/mitchellh/cli" "github.com/posener/complete" ) diff --git a/command/node_pool_apply_test.go b/command/node_pool_apply_test.go index e8045dfd662..fbd9307e8a4 100644 --- a/command/node_pool_apply_test.go +++ b/command/node_pool_apply_test.go @@ -10,8 +10,8 @@ import ( "strings" "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/ci" - "github.com/mitchellh/cli" "github.com/shoenig/test" "github.com/shoenig/test/must" ) diff --git a/command/node_pool_delete_test.go b/command/node_pool_delete_test.go index 996f6986a22..759c55860a2 100644 --- a/command/node_pool_delete_test.go +++ b/command/node_pool_delete_test.go @@ -6,9 +6,9 @@ package command import ( "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/api" "github.com/hashicorp/nomad/ci" - "github.com/mitchellh/cli" "github.com/shoenig/test/must" ) diff --git a/command/node_pool_info_test.go b/command/node_pool_info_test.go index f14ddc59731..186b5c5d9dd 100644 --- a/command/node_pool_info_test.go +++ b/command/node_pool_info_test.go @@ -7,9 +7,9 @@ import ( "strings" "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/api" "github.com/hashicorp/nomad/ci" - "github.com/mitchellh/cli" "github.com/shoenig/test" "github.com/shoenig/test/must" ) diff --git a/command/node_pool_init_test.go b/command/node_pool_init_test.go index 79043644272..90e7a3b3d3c 100644 --- a/command/node_pool_init_test.go +++ b/command/node_pool_init_test.go @@ -8,7 +8,7 @@ import ( "path" "testing" - "github.com/mitchellh/cli" + "github.com/hashicorp/cli" "github.com/shoenig/test/must" "github.com/hashicorp/nomad/ci" diff --git a/command/node_pool_jobs_test.go b/command/node_pool_jobs_test.go index a6dd93597d7..90ec781e506 100644 --- a/command/node_pool_jobs_test.go +++ b/command/node_pool_jobs_test.go @@ -8,11 +8,11 @@ import ( "strings" "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/api" "github.com/hashicorp/nomad/ci" "github.com/hashicorp/nomad/helper" "github.com/hashicorp/nomad/helper/pointer" - "github.com/mitchellh/cli" "github.com/shoenig/test" "github.com/shoenig/test/must" ) diff --git a/command/node_pool_list_test.go b/command/node_pool_list_test.go index 8872dd482a1..cdea0f45b34 100644 --- a/command/node_pool_list_test.go +++ b/command/node_pool_list_test.go @@ -7,9 +7,9 @@ import ( "strings" "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/api" "github.com/hashicorp/nomad/ci" - "github.com/mitchellh/cli" "github.com/shoenig/test" "github.com/shoenig/test/must" ) diff --git a/command/node_pool_nodes_test.go b/command/node_pool_nodes_test.go index e2c5fdc0ca2..f9cc20c1e59 100644 --- a/command/node_pool_nodes_test.go +++ b/command/node_pool_nodes_test.go @@ -9,12 +9,12 @@ import ( "strings" "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/api" "github.com/hashicorp/nomad/ci" "github.com/hashicorp/nomad/command/agent" "github.com/hashicorp/nomad/helper" "github.com/hashicorp/nomad/testutil" - "github.com/mitchellh/cli" "github.com/shoenig/test/must" ) diff --git a/command/node_pool_test.go b/command/node_pool_test.go index e589be2ed6c..4217dfd539d 100644 --- a/command/node_pool_test.go +++ b/command/node_pool_test.go @@ -7,10 +7,10 @@ import ( "regexp" "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/go-set/v3" "github.com/hashicorp/nomad/api" "github.com/hashicorp/nomad/ci" - "github.com/mitchellh/cli" "github.com/posener/complete" "github.com/shoenig/test/must" ) diff --git a/command/node_status_test.go b/command/node_status_test.go index cfddd03f45d..2bfa259eab3 100644 --- a/command/node_status_test.go +++ b/command/node_status_test.go @@ -9,11 +9,11 @@ import ( "testing" "time" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/api" "github.com/hashicorp/nomad/ci" "github.com/hashicorp/nomad/command/agent" "github.com/hashicorp/nomad/testutil" - "github.com/mitchellh/cli" "github.com/posener/complete" "github.com/shoenig/test/must" ) diff --git a/command/operator.go b/command/operator.go index 96e7408d327..4b615287dd6 100644 --- a/command/operator.go +++ b/command/operator.go @@ -6,7 +6,7 @@ package command import ( "strings" - "github.com/mitchellh/cli" + "github.com/hashicorp/cli" ) type OperatorCommand struct { diff --git a/command/operator_api_test.go b/command/operator_api_test.go index 5f30b2572b5..bc25a234b6a 100644 --- a/command/operator_api_test.go +++ b/command/operator_api_test.go @@ -15,9 +15,9 @@ import ( "testing" "time" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/api" "github.com/hashicorp/nomad/ci" - "github.com/mitchellh/cli" "github.com/shoenig/test/must" ) diff --git a/command/operator_autopilot.go b/command/operator_autopilot.go index 170e493b0b4..522e3d24dba 100644 --- a/command/operator_autopilot.go +++ b/command/operator_autopilot.go @@ -6,7 +6,7 @@ package command import ( "strings" - "github.com/mitchellh/cli" + "github.com/hashicorp/cli" ) type OperatorAutopilotCommand struct { diff --git a/command/operator_autopilot_get_test.go b/command/operator_autopilot_get_test.go index 304c56ff445..485738c1e65 100644 --- a/command/operator_autopilot_get_test.go +++ b/command/operator_autopilot_get_test.go @@ -7,8 +7,8 @@ import ( "strings" "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/ci" - "github.com/mitchellh/cli" ) func TestOperator_Autopilot_GetConfig_Implements(t *testing.T) { diff --git a/command/operator_autopilot_health_test.go b/command/operator_autopilot_health_test.go index 4c0a38d7c7d..a09f73ac898 100644 --- a/command/operator_autopilot_health_test.go +++ b/command/operator_autopilot_health_test.go @@ -7,9 +7,9 @@ import ( "encoding/json" "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/api" "github.com/hashicorp/nomad/ci" - "github.com/mitchellh/cli" "github.com/shoenig/test/must" ) diff --git a/command/operator_autopilot_set_test.go b/command/operator_autopilot_set_test.go index abd04a1ce1f..cc75a4c29a6 100644 --- a/command/operator_autopilot_set_test.go +++ b/command/operator_autopilot_set_test.go @@ -8,8 +8,8 @@ import ( "testing" "time" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/ci" - "github.com/mitchellh/cli" "github.com/shoenig/test/must" ) diff --git a/command/operator_autopilot_test.go b/command/operator_autopilot_test.go index ac91217352b..02edc19329b 100644 --- a/command/operator_autopilot_test.go +++ b/command/operator_autopilot_test.go @@ -6,8 +6,8 @@ package command import ( "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/ci" - "github.com/mitchellh/cli" ) func TestOperator_Autopilot_Implements(t *testing.T) { diff --git a/command/operator_client_state_test.go b/command/operator_client_state_test.go index 6a992fcb6d0..2220d33cc82 100644 --- a/command/operator_client_state_test.go +++ b/command/operator_client_state_test.go @@ -6,11 +6,11 @@ package command import ( "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/ci" "github.com/hashicorp/nomad/client/state" "github.com/hashicorp/nomad/helper/testlog" "github.com/hashicorp/nomad/nomad/structs" - "github.com/mitchellh/cli" "github.com/shoenig/test/must" ) diff --git a/command/operator_debug_test.go b/command/operator_debug_test.go index 8be0c468fa0..05b0131f85a 100644 --- a/command/operator_debug_test.go +++ b/command/operator_debug_test.go @@ -15,6 +15,7 @@ import ( "testing" "time" + "github.com/hashicorp/cli" consulapi "github.com/hashicorp/consul/api" consultest "github.com/hashicorp/consul/sdk/testutil" "github.com/hashicorp/nomad/api" @@ -25,7 +26,6 @@ import ( "github.com/hashicorp/nomad/helper/pointer" "github.com/hashicorp/nomad/nomad/state" "github.com/hashicorp/nomad/testutil" - "github.com/mitchellh/cli" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/command/operator_gossip.go b/command/operator_gossip.go index a5009fcce60..b589d0a726c 100644 --- a/command/operator_gossip.go +++ b/command/operator_gossip.go @@ -6,7 +6,7 @@ package command import ( "strings" - "github.com/mitchellh/cli" + "github.com/hashicorp/cli" ) type OperatorGossipCommand struct { diff --git a/command/operator_gossip_keyring.go b/command/operator_gossip_keyring.go index df23bbee1f4..29c3880035a 100644 --- a/command/operator_gossip_keyring.go +++ b/command/operator_gossip_keyring.go @@ -6,7 +6,7 @@ package command import ( "strings" - "github.com/mitchellh/cli" + "github.com/hashicorp/cli" "github.com/posener/complete" ) diff --git a/command/operator_gossip_keyring_install.go b/command/operator_gossip_keyring_install.go index 91c86b96463..533b08cc444 100644 --- a/command/operator_gossip_keyring_install.go +++ b/command/operator_gossip_keyring_install.go @@ -7,7 +7,7 @@ import ( "fmt" "strings" - "github.com/mitchellh/cli" + "github.com/hashicorp/cli" "github.com/posener/complete" ) diff --git a/command/operator_gossip_keyring_list.go b/command/operator_gossip_keyring_list.go index 69c804842e9..8ea32a3beeb 100644 --- a/command/operator_gossip_keyring_list.go +++ b/command/operator_gossip_keyring_list.go @@ -7,8 +7,8 @@ import ( "fmt" "strings" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/api" - "github.com/mitchellh/cli" "github.com/posener/complete" ) diff --git a/command/operator_gossip_keyring_remove.go b/command/operator_gossip_keyring_remove.go index c346b47ac73..9852e160d91 100644 --- a/command/operator_gossip_keyring_remove.go +++ b/command/operator_gossip_keyring_remove.go @@ -7,7 +7,7 @@ import ( "fmt" "strings" - "github.com/mitchellh/cli" + "github.com/hashicorp/cli" "github.com/posener/complete" ) diff --git a/command/operator_gossip_keyring_test.go b/command/operator_gossip_keyring_test.go index 748fef912c2..e27a090f58c 100644 --- a/command/operator_gossip_keyring_test.go +++ b/command/operator_gossip_keyring_test.go @@ -7,8 +7,8 @@ import ( "encoding/base64" "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/ci" - "github.com/mitchellh/cli" "github.com/shoenig/test/must" ) diff --git a/command/operator_gossip_keyring_use.go b/command/operator_gossip_keyring_use.go index afb24de35d5..987826370b9 100644 --- a/command/operator_gossip_keyring_use.go +++ b/command/operator_gossip_keyring_use.go @@ -7,7 +7,7 @@ import ( "fmt" "strings" - "github.com/mitchellh/cli" + "github.com/hashicorp/cli" "github.com/posener/complete" ) diff --git a/command/operator_raft.go b/command/operator_raft.go index b26bc0c2385..898bdca2503 100644 --- a/command/operator_raft.go +++ b/command/operator_raft.go @@ -6,7 +6,7 @@ package command import ( "strings" - "github.com/mitchellh/cli" + "github.com/hashicorp/cli" ) type OperatorRaftCommand struct { diff --git a/command/operator_raft_list_test.go b/command/operator_raft_list_test.go index e65052e18c3..1fc173dc414 100644 --- a/command/operator_raft_list_test.go +++ b/command/operator_raft_list_test.go @@ -7,8 +7,8 @@ import ( "strings" "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/ci" - "github.com/mitchellh/cli" ) func TestOperator_Raft_ListPeers_Implements(t *testing.T) { diff --git a/command/operator_raft_remove_test.go b/command/operator_raft_remove_test.go index 5ac287e055a..1278c0504c4 100644 --- a/command/operator_raft_remove_test.go +++ b/command/operator_raft_remove_test.go @@ -6,8 +6,8 @@ package command import ( "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/ci" - "github.com/mitchellh/cli" "github.com/shoenig/test/must" ) diff --git a/command/operator_raft_test.go b/command/operator_raft_test.go index 46f4a9e85c2..76aa3f840f0 100644 --- a/command/operator_raft_test.go +++ b/command/operator_raft_test.go @@ -6,8 +6,8 @@ package command import ( "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/ci" - "github.com/mitchellh/cli" ) func TestOperator_Raft_Implements(t *testing.T) { diff --git a/command/operator_root.go b/command/operator_root.go index de8b0425785..a7e02ed2aee 100644 --- a/command/operator_root.go +++ b/command/operator_root.go @@ -6,7 +6,7 @@ package command import ( "strings" - "github.com/mitchellh/cli" + "github.com/hashicorp/cli" ) type OperatorRootCommand struct { diff --git a/command/operator_root_keyring.go b/command/operator_root_keyring.go index b92e1a57733..35722aac098 100644 --- a/command/operator_root_keyring.go +++ b/command/operator_root_keyring.go @@ -7,7 +7,7 @@ import ( "fmt" "strings" - "github.com/mitchellh/cli" + "github.com/hashicorp/cli" "github.com/posener/complete" "github.com/hashicorp/nomad/api" diff --git a/command/operator_scheduler.go b/command/operator_scheduler.go index fe91070a283..aae15e2a2c8 100644 --- a/command/operator_scheduler.go +++ b/command/operator_scheduler.go @@ -6,7 +6,7 @@ package command import ( "strings" - "github.com/mitchellh/cli" + "github.com/hashicorp/cli" ) // Ensure OperatorSchedulerCommand satisfies the cli.Command interface. diff --git a/command/operator_scheduler_get_config.go b/command/operator_scheduler_get_config.go index 0147c164002..ee38f15ed6d 100644 --- a/command/operator_scheduler_get_config.go +++ b/command/operator_scheduler_get_config.go @@ -7,7 +7,7 @@ import ( "fmt" "strings" - "github.com/mitchellh/cli" + "github.com/hashicorp/cli" "github.com/posener/complete" ) diff --git a/command/operator_scheduler_get_config_test.go b/command/operator_scheduler_get_config_test.go index f1c73d75361..4794c6b0e47 100644 --- a/command/operator_scheduler_get_config_test.go +++ b/command/operator_scheduler_get_config_test.go @@ -7,9 +7,9 @@ import ( "encoding/json" "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/api" "github.com/hashicorp/nomad/ci" - "github.com/mitchellh/cli" "github.com/shoenig/test/must" ) diff --git a/command/operator_scheduler_set_config.go b/command/operator_scheduler_set_config.go index 62413966e06..718b948405d 100644 --- a/command/operator_scheduler_set_config.go +++ b/command/operator_scheduler_set_config.go @@ -7,9 +7,9 @@ import ( "fmt" "strings" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/api" flagHelper "github.com/hashicorp/nomad/helper/flags" - "github.com/mitchellh/cli" "github.com/posener/complete" ) diff --git a/command/operator_scheduler_set_config_test.go b/command/operator_scheduler_set_config_test.go index 533b4f71f72..fd13e256449 100644 --- a/command/operator_scheduler_set_config_test.go +++ b/command/operator_scheduler_set_config_test.go @@ -7,9 +7,9 @@ import ( "strconv" "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/api" "github.com/hashicorp/nomad/ci" - "github.com/mitchellh/cli" "github.com/shoenig/test/must" ) diff --git a/command/operator_snapshot.go b/command/operator_snapshot.go index f381d971907..167b47d4091 100644 --- a/command/operator_snapshot.go +++ b/command/operator_snapshot.go @@ -6,7 +6,7 @@ package command import ( "strings" - "github.com/mitchellh/cli" + "github.com/hashicorp/cli" ) type OperatorSnapshotCommand struct { diff --git a/command/operator_snapshot_inspect_test.go b/command/operator_snapshot_inspect_test.go index 203f441dba5..02e09f3f6c9 100644 --- a/command/operator_snapshot_inspect_test.go +++ b/command/operator_snapshot_inspect_test.go @@ -8,10 +8,10 @@ import ( "path/filepath" "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/api" "github.com/hashicorp/nomad/ci" "github.com/hashicorp/nomad/command/agent" - "github.com/mitchellh/cli" "github.com/shoenig/test/must" ) diff --git a/command/operator_snapshot_restore_test.go b/command/operator_snapshot_restore_test.go index 434d788bc24..9a324ebab59 100644 --- a/command/operator_snapshot_restore_test.go +++ b/command/operator_snapshot_restore_test.go @@ -8,11 +8,11 @@ import ( "strings" "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/api" "github.com/hashicorp/nomad/ci" "github.com/hashicorp/nomad/command/agent" "github.com/hashicorp/nomad/nomad/structs" - "github.com/mitchellh/cli" "github.com/shoenig/test/must" ) diff --git a/command/operator_snapshot_save_test.go b/command/operator_snapshot_save_test.go index 55b5e569171..a8613be26a3 100644 --- a/command/operator_snapshot_save_test.go +++ b/command/operator_snapshot_save_test.go @@ -8,10 +8,10 @@ import ( "path/filepath" "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/ci" "github.com/hashicorp/nomad/command/agent" "github.com/hashicorp/nomad/helper/snapshot" - "github.com/mitchellh/cli" "github.com/shoenig/test/must" ) diff --git a/command/operator_test.go b/command/operator_test.go index 577fbb7f468..e5d4a56dc13 100644 --- a/command/operator_test.go +++ b/command/operator_test.go @@ -6,8 +6,8 @@ package command import ( "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/ci" - "github.com/mitchellh/cli" ) func TestOperator_Implements(t *testing.T) { diff --git a/command/plugin.go b/command/plugin.go index 8dc5b3a6019..1b2391dec2a 100644 --- a/command/plugin.go +++ b/command/plugin.go @@ -3,7 +3,7 @@ package command -import "github.com/mitchellh/cli" +import "github.com/hashicorp/cli" type PluginCommand struct { Meta diff --git a/command/plugin_status_test.go b/command/plugin_status_test.go index 85c3b2a3c21..eb0b36124e5 100644 --- a/command/plugin_status_test.go +++ b/command/plugin_status_test.go @@ -6,10 +6,10 @@ package command import ( "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/go-memdb" "github.com/hashicorp/nomad/ci" "github.com/hashicorp/nomad/nomad/state" - "github.com/mitchellh/cli" "github.com/posener/complete" "github.com/shoenig/test/must" ) diff --git a/command/quota.go b/command/quota.go index d66ba851153..c1b69d5442b 100644 --- a/command/quota.go +++ b/command/quota.go @@ -6,8 +6,8 @@ package command import ( "strings" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/api/contexts" - "github.com/mitchellh/cli" "github.com/posener/complete" ) diff --git a/command/quota_apply_test.go b/command/quota_apply_test.go index 035e6f903d3..c7955f27ccd 100644 --- a/command/quota_apply_test.go +++ b/command/quota_apply_test.go @@ -7,8 +7,8 @@ import ( "strings" "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/ci" - "github.com/mitchellh/cli" ) func TestQuotaApplyCommand_Implements(t *testing.T) { diff --git a/command/quota_delete_test.go b/command/quota_delete_test.go index c084853fd2a..1f087b8fdc9 100644 --- a/command/quota_delete_test.go +++ b/command/quota_delete_test.go @@ -10,11 +10,11 @@ import ( "strings" "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/api" "github.com/hashicorp/nomad/ci" "github.com/hashicorp/nomad/helper/pointer" "github.com/hashicorp/nomad/helper/uuid" - "github.com/mitchellh/cli" "github.com/posener/complete" "github.com/shoenig/test/must" ) diff --git a/command/quota_init_test.go b/command/quota_init_test.go index 3a6d3869f4d..c83f7ba2dbb 100644 --- a/command/quota_init_test.go +++ b/command/quota_init_test.go @@ -7,8 +7,8 @@ import ( "os" "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/ci" - "github.com/mitchellh/cli" "github.com/shoenig/test/must" ) diff --git a/command/quota_inspect_test.go b/command/quota_inspect_test.go index 264fe903bda..c67605b451f 100644 --- a/command/quota_inspect_test.go +++ b/command/quota_inspect_test.go @@ -10,9 +10,9 @@ import ( "encoding/json" "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/api" "github.com/hashicorp/nomad/ci" - "github.com/mitchellh/cli" "github.com/posener/complete" "github.com/shoenig/test/must" ) diff --git a/command/quota_list_test.go b/command/quota_list_test.go index 729febf9d6d..8c9ced67ac1 100644 --- a/command/quota_list_test.go +++ b/command/quota_list_test.go @@ -10,8 +10,8 @@ import ( "strings" "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/ci" - "github.com/mitchellh/cli" "github.com/shoenig/test/must" ) diff --git a/command/quota_status_test.go b/command/quota_status_test.go index ff3843ef81c..704b76895a1 100644 --- a/command/quota_status_test.go +++ b/command/quota_status_test.go @@ -10,9 +10,9 @@ import ( "encoding/json" "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/api" "github.com/hashicorp/nomad/ci" - "github.com/mitchellh/cli" "github.com/posener/complete" "github.com/shoenig/test/must" ) diff --git a/command/recommendation.go b/command/recommendation.go index e878ade8c32..42e00914ba2 100644 --- a/command/recommendation.go +++ b/command/recommendation.go @@ -6,7 +6,7 @@ package command import ( "strings" - "github.com/mitchellh/cli" + "github.com/hashicorp/cli" ) // Ensure RecommendationCommand satisfies the cli.Command interface. diff --git a/command/recommendation_apply.go b/command/recommendation_apply.go index 85b473d0d79..d24d65ecb62 100644 --- a/command/recommendation_apply.go +++ b/command/recommendation_apply.go @@ -9,7 +9,7 @@ import ( "github.com/hashicorp/nomad/api" - "github.com/mitchellh/cli" + "github.com/hashicorp/cli" "github.com/posener/complete" ) diff --git a/command/recommendation_apply_test.go b/command/recommendation_apply_test.go index 360c1e8eb51..4f00800b950 100644 --- a/command/recommendation_apply_test.go +++ b/command/recommendation_apply_test.go @@ -7,10 +7,10 @@ import ( "fmt" "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/api" "github.com/hashicorp/nomad/ci" "github.com/hashicorp/nomad/testutil" - "github.com/mitchellh/cli" "github.com/shoenig/test/must" ) diff --git a/command/recommendation_dismiss.go b/command/recommendation_dismiss.go index 656ee909789..6e2f000f4cd 100644 --- a/command/recommendation_dismiss.go +++ b/command/recommendation_dismiss.go @@ -7,7 +7,7 @@ import ( "fmt" "strings" - "github.com/mitchellh/cli" + "github.com/hashicorp/cli" "github.com/posener/complete" "github.com/hashicorp/nomad/api/contexts" diff --git a/command/recommendation_dismiss_test.go b/command/recommendation_dismiss_test.go index 86e8877ebd6..766047f804a 100644 --- a/command/recommendation_dismiss_test.go +++ b/command/recommendation_dismiss_test.go @@ -7,11 +7,11 @@ import ( "fmt" "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/api" "github.com/hashicorp/nomad/ci" "github.com/hashicorp/nomad/command/agent" "github.com/hashicorp/nomad/testutil" - "github.com/mitchellh/cli" "github.com/posener/complete" "github.com/shoenig/test/must" ) diff --git a/command/recommendation_info.go b/command/recommendation_info.go index 124ab25de0a..6b29d20cce9 100644 --- a/command/recommendation_info.go +++ b/command/recommendation_info.go @@ -8,7 +8,7 @@ import ( "sort" "strings" - "github.com/mitchellh/cli" + "github.com/hashicorp/cli" "github.com/posener/complete" ) diff --git a/command/recommendation_info_test.go b/command/recommendation_info_test.go index 757842c9bc1..18d268bdc1b 100644 --- a/command/recommendation_info_test.go +++ b/command/recommendation_info_test.go @@ -7,10 +7,10 @@ import ( "fmt" "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/api" "github.com/hashicorp/nomad/ci" "github.com/hashicorp/nomad/testutil" - "github.com/mitchellh/cli" "github.com/shoenig/test/must" ) diff --git a/command/recommendation_list.go b/command/recommendation_list.go index b56317187e3..4659b13e248 100644 --- a/command/recommendation_list.go +++ b/command/recommendation_list.go @@ -8,8 +8,8 @@ import ( "sort" "strings" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/api" - "github.com/mitchellh/cli" "github.com/posener/complete" ) diff --git a/command/recommendation_list_test.go b/command/recommendation_list_test.go index 9701b7e0e3e..e752610a89d 100644 --- a/command/recommendation_list_test.go +++ b/command/recommendation_list_test.go @@ -7,10 +7,10 @@ import ( "sort" "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/api" "github.com/hashicorp/nomad/ci" "github.com/hashicorp/nomad/testutil" - "github.com/mitchellh/cli" "github.com/shoenig/test/must" ) diff --git a/command/scaling.go b/command/scaling.go index f50c23890d5..325ca6603bd 100644 --- a/command/scaling.go +++ b/command/scaling.go @@ -6,7 +6,7 @@ package command import ( "strings" - "github.com/mitchellh/cli" + "github.com/hashicorp/cli" ) // Ensure ScalingCommand satisfies the cli.Command interface. diff --git a/command/scaling_policy.go b/command/scaling_policy.go index beda356b0e1..35999579bd8 100644 --- a/command/scaling_policy.go +++ b/command/scaling_policy.go @@ -7,7 +7,7 @@ import ( "fmt" "strings" - "github.com/mitchellh/cli" + "github.com/hashicorp/cli" ) // Ensure ScalingPolicyCommand satisfies the cli.Command interface. diff --git a/command/scaling_policy_info.go b/command/scaling_policy_info.go index d8b62251f43..0003e9c1e21 100644 --- a/command/scaling_policy_info.go +++ b/command/scaling_policy_info.go @@ -7,7 +7,7 @@ import ( "fmt" "strings" - "github.com/mitchellh/cli" + "github.com/hashicorp/cli" "github.com/posener/complete" "github.com/hashicorp/nomad/api" diff --git a/command/scaling_policy_info_test.go b/command/scaling_policy_info_test.go index 2150911d212..44d76a0ff35 100644 --- a/command/scaling_policy_info_test.go +++ b/command/scaling_policy_info_test.go @@ -8,11 +8,11 @@ import ( "strings" "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/api" "github.com/hashicorp/nomad/ci" "github.com/hashicorp/nomad/helper/pointer" "github.com/hashicorp/nomad/testutil" - "github.com/mitchellh/cli" ) func TestScalingPolicyInfoCommand_Run(t *testing.T) { diff --git a/command/scaling_policy_list.go b/command/scaling_policy_list.go index c65eb9ac08a..e1a95a94d4f 100644 --- a/command/scaling_policy_list.go +++ b/command/scaling_policy_list.go @@ -8,8 +8,8 @@ import ( "sort" "strings" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/api" - "github.com/mitchellh/cli" "github.com/posener/complete" ) diff --git a/command/scaling_policy_list_test.go b/command/scaling_policy_list_test.go index c5304e5cdad..0d50c1f48c4 100644 --- a/command/scaling_policy_list_test.go +++ b/command/scaling_policy_list_test.go @@ -6,10 +6,10 @@ package command import ( "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/api" "github.com/hashicorp/nomad/ci" "github.com/hashicorp/nomad/helper/pointer" - "github.com/mitchellh/cli" "github.com/shoenig/test/must" ) diff --git a/command/sentinel.go b/command/sentinel.go index 0064ec93227..9b0629a055e 100644 --- a/command/sentinel.go +++ b/command/sentinel.go @@ -6,7 +6,7 @@ package command import ( "strings" - "github.com/mitchellh/cli" + "github.com/hashicorp/cli" ) type SentinelCommand struct { diff --git a/command/sentinel_apply_test.go b/command/sentinel_apply_test.go index 32b53107d1d..3e37074fe24 100644 --- a/command/sentinel_apply_test.go +++ b/command/sentinel_apply_test.go @@ -6,8 +6,8 @@ package command import ( "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/ci" - "github.com/mitchellh/cli" ) func TestSentinelApplyCommand_Implements(t *testing.T) { diff --git a/command/sentinel_delete_test.go b/command/sentinel_delete_test.go index f8180108a65..83285865f04 100644 --- a/command/sentinel_delete_test.go +++ b/command/sentinel_delete_test.go @@ -6,8 +6,8 @@ package command import ( "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/ci" - "github.com/mitchellh/cli" ) func TestSentinelDeleteCommand_Implements(t *testing.T) { diff --git a/command/sentinel_list_test.go b/command/sentinel_list_test.go index 07539f9d173..5d8e027d08c 100644 --- a/command/sentinel_list_test.go +++ b/command/sentinel_list_test.go @@ -6,8 +6,8 @@ package command import ( "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/ci" - "github.com/mitchellh/cli" ) func TestSentinelListCommand_Implements(t *testing.T) { diff --git a/command/sentinel_read_test.go b/command/sentinel_read_test.go index 22b7fbb0576..8f20a84b85a 100644 --- a/command/sentinel_read_test.go +++ b/command/sentinel_read_test.go @@ -6,8 +6,8 @@ package command import ( "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/ci" - "github.com/mitchellh/cli" ) func TestSentinelReadCommand_Implements(t *testing.T) { diff --git a/command/server.go b/command/server.go index 96a1097d996..3171946cbcf 100644 --- a/command/server.go +++ b/command/server.go @@ -6,7 +6,7 @@ package command import ( "strings" - "github.com/mitchellh/cli" + "github.com/hashicorp/cli" ) type ServerCommand struct { diff --git a/command/server_force_leave_test.go b/command/server_force_leave_test.go index 264b04f66a7..0755d561ed7 100644 --- a/command/server_force_leave_test.go +++ b/command/server_force_leave_test.go @@ -6,8 +6,8 @@ package command import ( "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/ci" - "github.com/mitchellh/cli" ) func TestServerForceLeaveCommand_Implements(t *testing.T) { diff --git a/command/server_join_test.go b/command/server_join_test.go index 586122b0a71..9c1d13bed0d 100644 --- a/command/server_join_test.go +++ b/command/server_join_test.go @@ -6,8 +6,8 @@ package command import ( "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/ci" - "github.com/mitchellh/cli" ) func TestServerJoinCommand_Implements(t *testing.T) { diff --git a/command/server_members_test.go b/command/server_members_test.go index d5c03868bf5..9788a13dd32 100644 --- a/command/server_members_test.go +++ b/command/server_members_test.go @@ -9,10 +9,10 @@ import ( "strings" "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/api" "github.com/hashicorp/nomad/ci" "github.com/hashicorp/nomad/command/agent" - "github.com/mitchellh/cli" "github.com/shoenig/test/must" ) diff --git a/command/service.go b/command/service.go index cef63d36a1a..8f27b9f006b 100644 --- a/command/service.go +++ b/command/service.go @@ -6,7 +6,7 @@ package command import ( "strings" - "github.com/mitchellh/cli" + "github.com/hashicorp/cli" ) type ServiceCommand struct { diff --git a/command/service_delete_test.go b/command/service_delete_test.go index 47d5d089ec7..9c535529c0a 100644 --- a/command/service_delete_test.go +++ b/command/service_delete_test.go @@ -7,12 +7,12 @@ import ( "fmt" "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/api" "github.com/hashicorp/nomad/ci" "github.com/hashicorp/nomad/nomad/mock" "github.com/hashicorp/nomad/nomad/structs" "github.com/hashicorp/nomad/testutil" - "github.com/mitchellh/cli" "github.com/shoenig/test/must" ) diff --git a/command/service_info.go b/command/service_info.go index a91126499d4..1519eeda676 100644 --- a/command/service_info.go +++ b/command/service_info.go @@ -11,8 +11,8 @@ import ( "strconv" "strings" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/api" - "github.com/mitchellh/cli" "github.com/posener/complete" ) diff --git a/command/service_info_test.go b/command/service_info_test.go index edbc2eef84d..82532d674c3 100644 --- a/command/service_info_test.go +++ b/command/service_info_test.go @@ -9,10 +9,10 @@ import ( "testing" "time" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/api" "github.com/hashicorp/nomad/ci" "github.com/hashicorp/nomad/testutil" - "github.com/mitchellh/cli" "github.com/shoenig/test/must" "github.com/stretchr/testify/require" ) diff --git a/command/service_list.go b/command/service_list.go index 9c3cb7ed56f..fd375c22b10 100644 --- a/command/service_list.go +++ b/command/service_list.go @@ -8,8 +8,8 @@ import ( "sort" "strings" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/api" - "github.com/mitchellh/cli" "github.com/posener/complete" ) diff --git a/command/service_list_test.go b/command/service_list_test.go index 9d8292d8dd4..7a9d6616fc1 100644 --- a/command/service_list_test.go +++ b/command/service_list_test.go @@ -8,10 +8,10 @@ import ( "testing" "time" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/api" "github.com/hashicorp/nomad/ci" "github.com/hashicorp/nomad/testutil" - "github.com/mitchellh/cli" "github.com/shoenig/test/must" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" diff --git a/command/setup.go b/command/setup.go index e32c9b95141..2bb8076d673 100644 --- a/command/setup.go +++ b/command/setup.go @@ -6,7 +6,7 @@ package command import ( "strings" - "github.com/mitchellh/cli" + "github.com/hashicorp/cli" ) type SetupCommand struct { diff --git a/command/setup_consul.go b/command/setup_consul.go index 7b162e6b710..061b38574dd 100644 --- a/command/setup_consul.go +++ b/command/setup_consul.go @@ -11,8 +11,8 @@ import ( "slices" "strings" + "github.com/hashicorp/cli" "github.com/hashicorp/consul/api" - "github.com/mitchellh/cli" "github.com/posener/complete" ) diff --git a/command/setup_vault.go b/command/setup_vault.go index ffa5e21c369..2424f04b634 100644 --- a/command/setup_vault.go +++ b/command/setup_vault.go @@ -13,8 +13,8 @@ import ( "strings" "github.com/dustin/go-humanize/english" + "github.com/hashicorp/cli" "github.com/hashicorp/vault/api" - "github.com/mitchellh/cli" "github.com/posener/complete" ) diff --git a/command/setup_vault_test.go b/command/setup_vault_test.go index 9f561ee6fe6..36adf8494c6 100644 --- a/command/setup_vault_test.go +++ b/command/setup_vault_test.go @@ -7,11 +7,11 @@ import ( "fmt" "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/api" "github.com/hashicorp/nomad/ci" "github.com/hashicorp/nomad/command/agent" "github.com/hashicorp/nomad/helper/pointer" - "github.com/mitchellh/cli" "github.com/shoenig/test/must" ) diff --git a/command/status.go b/command/status.go index d91f75a2b81..4c175d6160e 100644 --- a/command/status.go +++ b/command/status.go @@ -7,8 +7,8 @@ import ( "fmt" "strings" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/api/contexts" - "github.com/mitchellh/cli" "github.com/posener/complete" ) diff --git a/command/status_test.go b/command/status_test.go index cce94977b4e..31b91c8d7aa 100644 --- a/command/status_test.go +++ b/command/status_test.go @@ -8,12 +8,12 @@ import ( "regexp" "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/ci" "github.com/hashicorp/nomad/command/agent" "github.com/hashicorp/nomad/nomad/mock" "github.com/hashicorp/nomad/nomad/structs" "github.com/hashicorp/nomad/testutil" - "github.com/mitchellh/cli" "github.com/posener/complete" "github.com/shoenig/test/must" ) diff --git a/command/system.go b/command/system.go index e403479b9dd..b02ea386d1a 100644 --- a/command/system.go +++ b/command/system.go @@ -6,7 +6,7 @@ package command import ( "strings" - "github.com/mitchellh/cli" + "github.com/hashicorp/cli" ) type SystemCommand struct { diff --git a/command/system_gc_test.go b/command/system_gc_test.go index a7977046cf9..b0deadf7cc1 100644 --- a/command/system_gc_test.go +++ b/command/system_gc_test.go @@ -6,8 +6,8 @@ package command import ( "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/ci" - "github.com/mitchellh/cli" ) func TestSystemGCCommand_Implements(t *testing.T) { diff --git a/command/system_reconcile.go b/command/system_reconcile.go index 11fde5cef9f..2b0801b2059 100644 --- a/command/system_reconcile.go +++ b/command/system_reconcile.go @@ -6,7 +6,7 @@ package command import ( "strings" - "github.com/mitchellh/cli" + "github.com/hashicorp/cli" ) type SystemReconcileCommand struct { diff --git a/command/system_reconcile_summaries_test.go b/command/system_reconcile_summaries_test.go index 9e6aef9fb99..91a588f9c0c 100644 --- a/command/system_reconcile_summaries_test.go +++ b/command/system_reconcile_summaries_test.go @@ -6,8 +6,8 @@ package command import ( "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/ci" - "github.com/mitchellh/cli" ) func TestSystemReconcileSummariesCommand_Implements(t *testing.T) { diff --git a/command/system_reconcile_test.go b/command/system_reconcile_test.go index e40d0bf2a6d..3dcd74058cd 100644 --- a/command/system_reconcile_test.go +++ b/command/system_reconcile_test.go @@ -6,8 +6,8 @@ package command import ( "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/ci" - "github.com/mitchellh/cli" ) func TestSystemReconcileCommand_Implements(t *testing.T) { diff --git a/command/system_test.go b/command/system_test.go index b2120c83e58..d9f6cbde6e7 100644 --- a/command/system_test.go +++ b/command/system_test.go @@ -6,8 +6,8 @@ package command import ( "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/ci" - "github.com/mitchellh/cli" ) func TestSystemCommand_Implements(t *testing.T) { diff --git a/command/tls.go b/command/tls.go index 2aef065a031..f7162fb0710 100644 --- a/command/tls.go +++ b/command/tls.go @@ -7,7 +7,7 @@ import ( "os" "strings" - "github.com/mitchellh/cli" + "github.com/hashicorp/cli" ) type TLSCommand struct { diff --git a/command/tls_ca.go b/command/tls_ca.go index c46aecb47a0..d875bfda6a5 100644 --- a/command/tls_ca.go +++ b/command/tls_ca.go @@ -6,7 +6,7 @@ package command import ( "strings" - "github.com/mitchellh/cli" + "github.com/hashicorp/cli" "github.com/posener/complete" ) diff --git a/command/tls_ca_create_test.go b/command/tls_ca_create_test.go index 30f70c0a9ef..2f352a243ba 100644 --- a/command/tls_ca_create_test.go +++ b/command/tls_ca_create_test.go @@ -9,8 +9,8 @@ import ( "testing" "time" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/testutil" - "github.com/mitchellh/cli" "github.com/shoenig/test/must" ) diff --git a/command/tls_cert.go b/command/tls_cert.go index e3dfe157ef9..f8d9ac39732 100644 --- a/command/tls_cert.go +++ b/command/tls_cert.go @@ -6,7 +6,7 @@ package command import ( "strings" - "github.com/mitchellh/cli" + "github.com/hashicorp/cli" "github.com/posener/complete" ) diff --git a/command/tls_cert_create_test.go b/command/tls_cert_create_test.go index b48c1fc0041..75d6f659b9b 100644 --- a/command/tls_cert_create_test.go +++ b/command/tls_cert_create_test.go @@ -10,9 +10,9 @@ import ( "strings" "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/ci" "github.com/hashicorp/nomad/testutil" - "github.com/mitchellh/cli" "github.com/shoenig/test/must" ) diff --git a/command/ui/log_ui.go b/command/ui/log_ui.go index 031eebae407..eee5533a6f9 100644 --- a/command/ui/log_ui.go +++ b/command/ui/log_ui.go @@ -9,7 +9,7 @@ import ( "io" "github.com/fatih/color" - "github.com/mitchellh/cli" + "github.com/hashicorp/cli" ) // LogUI is an implementation of the cli.Ui interface which can be used for diff --git a/command/ui/log_ui_test.go b/command/ui/log_ui_test.go index 1918fe0717f..68a411cd276 100644 --- a/command/ui/log_ui_test.go +++ b/command/ui/log_ui_test.go @@ -8,7 +8,7 @@ import ( "io" "testing" - "github.com/mitchellh/cli" + "github.com/hashicorp/cli" "github.com/shoenig/test/must" ) diff --git a/command/ui/writer_ui.go b/command/ui/writer_ui.go index ce2ed1f033e..7a3e1655ff3 100644 --- a/command/ui/writer_ui.go +++ b/command/ui/writer_ui.go @@ -8,7 +8,7 @@ import ( "fmt" "io" - "github.com/mitchellh/cli" + "github.com/hashicorp/cli" ) // WriterUI is an implementation of the cli.Ui interface which can be used for diff --git a/command/ui/writer_ui_test.go b/command/ui/writer_ui_test.go index 341649a372f..676e5abd05c 100644 --- a/command/ui/writer_ui_test.go +++ b/command/ui/writer_ui_test.go @@ -9,8 +9,8 @@ import ( "io" "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/ci" - "github.com/mitchellh/cli" "github.com/shoenig/test/must" ) diff --git a/command/ui_test.go b/command/ui_test.go index 144342fcc29..4bcc411ce8b 100644 --- a/command/ui_test.go +++ b/command/ui_test.go @@ -8,7 +8,7 @@ import ( "strings" "testing" - "github.com/mitchellh/cli" + "github.com/hashicorp/cli" "github.com/shoenig/test/must" ) diff --git a/command/var.go b/command/var.go index 4c7c3b43c42..714741a5521 100644 --- a/command/var.go +++ b/command/var.go @@ -15,9 +15,9 @@ import ( "text/template" "time" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/api" "github.com/hashicorp/nomad/api/contexts" - "github.com/mitchellh/cli" "github.com/mitchellh/colorstring" "github.com/mitchellh/mapstructure" "github.com/posener/complete" diff --git a/command/var_get.go b/command/var_get.go index d5a223d425c..c101cf48f02 100644 --- a/command/var_get.go +++ b/command/var_get.go @@ -9,8 +9,8 @@ import ( "os" "strings" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/api" - "github.com/mitchellh/cli" "github.com/posener/complete" ) diff --git a/command/var_get_test.go b/command/var_get_test.go index 16d33de02c5..ffc201d4209 100644 --- a/command/var_get_test.go +++ b/command/var_get_test.go @@ -8,9 +8,9 @@ import ( "strings" "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/api" "github.com/hashicorp/nomad/ci" - "github.com/mitchellh/cli" "github.com/posener/complete" "github.com/shoenig/test/must" ) diff --git a/command/var_init_test.go b/command/var_init_test.go index 7d835ab6207..6a16cccfe94 100644 --- a/command/var_init_test.go +++ b/command/var_init_test.go @@ -8,8 +8,8 @@ import ( "path" "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/ci" - "github.com/mitchellh/cli" "github.com/shoenig/test/must" ) diff --git a/command/var_list_test.go b/command/var_list_test.go index 3194cea46ce..ae7032914f3 100644 --- a/command/var_list_test.go +++ b/command/var_list_test.go @@ -9,9 +9,9 @@ import ( "strings" "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/api" "github.com/hashicorp/nomad/ci" - "github.com/mitchellh/cli" "github.com/shoenig/test/must" ) diff --git a/command/var_lock_test.go b/command/var_lock_test.go index 87e1ea06069..db51ce7de5d 100644 --- a/command/var_lock_test.go +++ b/command/var_lock_test.go @@ -9,8 +9,8 @@ import ( "testing" "time" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/ci" - "github.com/mitchellh/cli" "github.com/shoenig/test/must" ) diff --git a/command/var_purge.go b/command/var_purge.go index 609b3c355ee..5b0539f2b2d 100644 --- a/command/var_purge.go +++ b/command/var_purge.go @@ -9,7 +9,7 @@ import ( "strconv" "strings" - "github.com/mitchellh/cli" + "github.com/hashicorp/cli" "github.com/posener/complete" ) diff --git a/command/var_purge_test.go b/command/var_purge_test.go index 94727c51da0..0308bb7a9db 100644 --- a/command/var_purge_test.go +++ b/command/var_purge_test.go @@ -8,8 +8,8 @@ import ( "strings" "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/ci" - "github.com/mitchellh/cli" "github.com/posener/complete" "github.com/shoenig/test/must" ) diff --git a/command/var_put.go b/command/var_put.go index e98604c7807..c54a8934430 100644 --- a/command/var_put.go +++ b/command/var_put.go @@ -14,13 +14,13 @@ import ( "slices" "strings" + "github.com/hashicorp/cli" multierror "github.com/hashicorp/go-multierror" "github.com/hashicorp/go-set/v3" "github.com/hashicorp/hcl" "github.com/hashicorp/hcl/hcl/ast" "github.com/hashicorp/nomad/api" "github.com/hashicorp/nomad/helper" - "github.com/mitchellh/cli" "github.com/mitchellh/mapstructure" "github.com/posener/complete" ) diff --git a/command/var_put_test.go b/command/var_put_test.go index a6fd6cd3b0c..bf2c54ecf62 100644 --- a/command/var_put_test.go +++ b/command/var_put_test.go @@ -11,9 +11,9 @@ import ( "strings" "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/api" "github.com/hashicorp/nomad/ci" - "github.com/mitchellh/cli" "github.com/posener/complete" "github.com/shoenig/test/must" ) diff --git a/command/version.go b/command/version.go index 595fd9fdea3..e06c7366076 100644 --- a/command/version.go +++ b/command/version.go @@ -4,8 +4,8 @@ package command import ( + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/version" - "github.com/mitchellh/cli" ) // VersionCommand is a Command implementation prints the version. diff --git a/command/version_test.go b/command/version_test.go index 723a8375a20..deae9b07680 100644 --- a/command/version_test.go +++ b/command/version_test.go @@ -6,8 +6,8 @@ package command import ( "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/ci" - "github.com/mitchellh/cli" ) func TestVersionCommand_implements(t *testing.T) { diff --git a/command/volume.go b/command/volume.go index da8f1fcf061..7d5896df95e 100644 --- a/command/volume.go +++ b/command/volume.go @@ -6,7 +6,7 @@ package command import ( "strings" - "github.com/mitchellh/cli" + "github.com/hashicorp/cli" ) type VolumeCommand struct { diff --git a/command/volume_snapshot.go b/command/volume_snapshot.go index 6b46176d9b4..a89049eea44 100644 --- a/command/volume_snapshot.go +++ b/command/volume_snapshot.go @@ -6,7 +6,7 @@ package command import ( "strings" - "github.com/mitchellh/cli" + "github.com/hashicorp/cli" ) type VolumeSnapshotCommand struct { diff --git a/command/volume_status_test.go b/command/volume_status_test.go index 0fde4610f6b..c5ba2d335ba 100644 --- a/command/volume_status_test.go +++ b/command/volume_status_test.go @@ -6,10 +6,10 @@ package command import ( "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/ci" "github.com/hashicorp/nomad/helper/uuid" "github.com/hashicorp/nomad/nomad/structs" - "github.com/mitchellh/cli" "github.com/posener/complete" "github.com/shoenig/test/must" ) diff --git a/go.mod b/go.mod index 2a7bcb13207..39dbd6b7d26 100644 --- a/go.mod +++ b/go.mod @@ -43,6 +43,7 @@ require ( github.com/gosuri/uilive v0.0.4 github.com/grpc-ecosystem/go-grpc-middleware v1.4.0 github.com/hashicorp/cap v0.6.0 + github.com/hashicorp/cli v1.1.6 github.com/hashicorp/consul-template v0.39.0 github.com/hashicorp/consul/api v1.30.0 github.com/hashicorp/consul/sdk v0.16.1 @@ -94,7 +95,6 @@ require ( github.com/kr/text v0.2.0 github.com/mattn/go-colorable v0.1.13 github.com/miekg/dns v1.1.62 - github.com/mitchellh/cli v1.1.5 github.com/mitchellh/colorstring v0.0.0-20150917214807-8631ce90f286 github.com/mitchellh/copystructure v1.2.0 github.com/mitchellh/go-glint v0.0.0-20210722152315-6515ceb4a127 @@ -248,6 +248,7 @@ require ( github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0 // indirect github.com/mattn/go-isatty v0.0.20 // indirect github.com/mattn/go-runewidth v0.0.12 // indirect + github.com/mitchellh/cli v1.1.5 // indirect github.com/mitchellh/go-wordwrap v1.0.1 // indirect github.com/moby/docker-image-spec v1.3.1 // indirect github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect diff --git a/go.sum b/go.sum index 952484c3956..e4925ea94ea 100644 --- a/go.sum +++ b/go.sum @@ -620,6 +620,8 @@ github.com/grpc-ecosystem/grpc-gateway v1.16.0 h1:gmcG1KaJ57LophUzW0Hy8NmPhnMZb4 github.com/grpc-ecosystem/grpc-gateway v1.16.0/go.mod h1:BDjrQk3hbvj6Nolgz8mAMFbcEtjT1g+wF4CSlocrBnw= github.com/hashicorp/cap v0.6.0 h1:uOSdbtXu8zsbRyjwpiTy6QiuX3+5paAbNkYlop7QexM= github.com/hashicorp/cap v0.6.0/go.mod h1:DwzHkoG6pxSARiqwvAgxmCPUpTTCCw2wVuPrIFOzpe0= +github.com/hashicorp/cli v1.1.6 h1:CMOV+/LJfL1tXCOKrgAX0uRKnzjj/mpmqNXloRSy2K8= +github.com/hashicorp/cli v1.1.6/go.mod h1:MPon5QYlgjjo0BSoAiN0ESeT5fRzDjVRp+uioJ0piz4= github.com/hashicorp/consul-template v0.39.0 h1:Yp2iqdVw3pYW4RbNKPNF/dNpJWEasnAhUTC+wDPtDYM= github.com/hashicorp/consul-template v0.39.0/go.mod h1:eZmtllcY+RK0y/DPXdCuiMWr3m9OPlzBwsmBv1jbCxI= github.com/hashicorp/consul/api v1.30.0 h1:ArHVMMILb1nQv8vZSGIwwQd2gtc+oSQZ6CalyiyH2XQ= diff --git a/main.go b/main.go index 075dc977d21..01aa38418d3 100644 --- a/main.go +++ b/main.go @@ -23,9 +23,9 @@ import ( _ "github.com/hashicorp/nomad/drivers/shared/executor" // Don't move any other code imports above the import block above! + "github.com/hashicorp/cli" "github.com/hashicorp/nomad/command" "github.com/hashicorp/nomad/version" - "github.com/mitchellh/cli" ) var ( diff --git a/plugins/shared/cmd/launcher/command/device.go b/plugins/shared/cmd/launcher/command/device.go index 1d204158a76..7458ec32ee7 100644 --- a/plugins/shared/cmd/launcher/command/device.go +++ b/plugins/shared/cmd/launcher/command/device.go @@ -12,6 +12,7 @@ import ( "strings" "time" + "github.com/hashicorp/cli" hclog "github.com/hashicorp/go-hclog" multierror "github.com/hashicorp/go-multierror" plugin "github.com/hashicorp/go-plugin" @@ -23,7 +24,6 @@ import ( "github.com/hashicorp/nomad/plugins/base" "github.com/hashicorp/nomad/plugins/device" "github.com/kr/pretty" - "github.com/mitchellh/cli" "github.com/zclconf/go-cty/cty/msgpack" ) diff --git a/plugins/shared/cmd/launcher/command/meta.go b/plugins/shared/cmd/launcher/command/meta.go index 2ac1b426623..c0a374151a1 100644 --- a/plugins/shared/cmd/launcher/command/meta.go +++ b/plugins/shared/cmd/launcher/command/meta.go @@ -7,8 +7,8 @@ import ( "flag" "strings" + "github.com/hashicorp/cli" hclog "github.com/hashicorp/go-hclog" - "github.com/mitchellh/cli" ) type Meta struct { diff --git a/plugins/shared/cmd/launcher/main.go b/plugins/shared/cmd/launcher/main.go index f6ed65f11cb..4361ef359ae 100644 --- a/plugins/shared/cmd/launcher/main.go +++ b/plugins/shared/cmd/launcher/main.go @@ -6,9 +6,9 @@ package main import ( "os" + "github.com/hashicorp/cli" hclog "github.com/hashicorp/go-hclog" "github.com/hashicorp/nomad/plugins/shared/cmd/launcher/command" - "github.com/mitchellh/cli" ) const (