Skip to content

Commit

Permalink
fix server-acl-init command_test.go for datadog token policy - datace…
Browse files Browse the repository at this point in the history
…nter should have been dc1
  • Loading branch information
natemollica-nm committed Feb 9, 2024
1 parent 436884b commit 0c4a8b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion control-plane/subcommand/server-acl-init/command_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ func TestRun_TokensPrimaryDC(t *testing.T) {
TestName: "Datadog Agent Token",
TokenFlags: []string{"-create-dd-agent-token"},
PolicyNames: []string{"datadog-agent-metrics-token"},
PolicyDCs: nil,
PolicyDCs: []string{"dc1"},
SecretNames: []string{resourcePrefix + "-datadog-agent-metrics-acl-token"},
LocalToken: true,
},
Expand Down

0 comments on commit 0c4a8b4

Please sign in to comment.