Rename KMS purpose 'controller' to 'root'
This commit is contained in:
1 parent
efaf58b568
commit
fff15bc9f3
9 files changed
+12
-12
No files matched your search
@@ -262,7 +262,7 @@ func NewTestController(t *testing.T, opts *TestControllerOpts) *TestController {
|
||||
tc.b.ControllerKMS = opts.ControllerKMS
|
||||
tc.b.WorkerAuthKMS = opts.WorkerAuthKMS
|
||||
case opts.ControllerKMS == nil && opts.WorkerAuthKMS == nil:
|
||||
if err := tc.b.SetupKMSes(nil, opts.Config.SharedConfig, []string{"controller", "worker-auth"}); err != nil {
|
||||
if err := tc.b.SetupKMSes(nil, opts.Config.SharedConfig, []string{"root", "worker-auth"}); err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
default:
|
||||
|
||||
Reference in new issue
Block a user