Skip to content

Commit 0c0f6fc

Browse files
authored
Fix disable-version-string bool check (#927)
1 parent 44293f3 commit 0c0f6fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/config/config.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -855,7 +855,7 @@ func (c *Config) LogDeprecatedConfig(ctx context.Context) {
855855
nil,
856856
)
857857
}
858-
if c.DisableVersionString {
858+
if !c.DisableVersionString {
859859
logging.WarnDeprecated(
860860
"disable-version-string",
861861
"disable-version-string will be permanently set to True in v3",

0 commit comments

Comments
 (0)