Forráskód Böngészése

fix: avoid empty tags

Yeuoly 9 hónapja%!(EXTRA string=óta)
szülő
commit
8bc6f095fd

+ 4 - 0
internal/types/entities/plugin_entities/plugin_declaration.go

@@ -287,6 +287,10 @@ func (p *PluginDeclaration) FillInDefaultValues() {
 			p.Model.Description = &deep_copied_description
 		}
 	}
+
+	if p.Tags == nil {
+		p.Tags = []PluginTag{}
+	}
 }
 
 func init() {