mirror of https://github.com/databricks/cli.git
fix: Remove unnecessary `ok` check
This commit is contained in:
parent
9f3ec3d0b4
commit
3231cffc54
|
@ -91,10 +91,7 @@ func (d *annotationHandler) addAnnotations(typ reflect.Type, s jsonschema.Schema
|
||||||
}
|
}
|
||||||
|
|
||||||
for k, v := range s.Properties {
|
for k, v := range s.Properties {
|
||||||
item, ok := annotations[k]
|
item := annotations[k]
|
||||||
if !ok {
|
|
||||||
item = annotation{}
|
|
||||||
}
|
|
||||||
if item.Description == "" {
|
if item.Description == "" {
|
||||||
item.Description = Placeholder
|
item.Description = Placeholder
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue