You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue Description:
When I tested the sub option of crictl config, I found that "crictl config" cannot set debug to false。
crictl config --get debug
true
crictl config debug false
FATA[0000] use true|false for debug
It seems like a bug,the code 118-129 lines ,the if statement is missing the setting for value=“false”
case "debug":
var debug bool
if value == "true" {
debug = true
} else {
logrus.Fatal("use true|false for debug")
}
config.Debug = debug
Issue Description:
When I tested the sub option of crictl config, I found that "crictl config" cannot set debug to false。
crictl config --get debug
true
crictl config debug false
FATA[0000] use true|false for debug
It seems like a bug,the code 118-129 lines ,the if statement is missing the setting for value=“false”
case "debug":
var debug bool
if value == "true" {
debug = true
} else {
logrus.Fatal("use true|false for debug")
}
config.Debug = debug
My crio verison is:
crictl version
Version: 0.1.0
RuntimeName: cri-o
RuntimeVersion: 1.12.0-dev
RuntimeApiVersion: v1alpha1
The text was updated successfully, but these errors were encountered: