Rename KMS purpose 'controller' to 'root'

This commit is contained in:
Jeff Mitchell committed 2020-08-14 10:12:31 -04:00
1 parent efaf58b568
commit fff15bc9f3
9 files changed
+12 -12

No files matched your search

+1 -1
View File
@@ -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: