Skip to content

Commit 4a8bccd

Browse files
committed
rm-disable-compression: fix test
1 parent 537c1e6 commit 4a8bccd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pkg/agent/config_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,10 +174,11 @@ func Test_ValidateAndCombineConfig(t *testing.T) {
174174
`)),
175175
withCmdLineFlags("--disable-compression", "--credentials-file", path, "--install-namespace", "venafi"))
176176
require.NoError(t, err)
177+
178+
// The log line printed by pflag is not captured by the log recorder.
177179
assert.Equal(t, testutil.Undent(`
178180
INFO Using the Jetstack Secure OAuth auth mode since --credentials-file was specified without --venafi-cloud.
179181
INFO Using period from config period="1h0m0s"
180-
INFO The flag --disable-compression has been deprecated an no longer has any effect.
181182
`), b.String())
182183
})
183184

0 commit comments

Comments
 (0)