Fix lint
This commit is contained in:
@@ -83,7 +83,7 @@ func (e *booleanishString) UnmarshalJSON(b []byte) error {
|
||||
}
|
||||
|
||||
func (e *booleanishString) MarshalJSON(b []byte) ([]byte, error) {
|
||||
if *e == true {
|
||||
if *e {
|
||||
return []byte(`"enabled"`), nil
|
||||
}
|
||||
return []byte(`"disabled"`), nil
|
||||
|
||||
Reference in New Issue
Block a user