diff --git a/core/data/config.go b/core/data/config.go index 505f94e02..c00af9da6 100644 --- a/core/data/config.go +++ b/core/data/config.go @@ -213,6 +213,10 @@ func SetRTMPPortNumber(port float64) error { // GetServerMetadataTags will return the metadata tags. func GetServerMetadataTags() []string { tagsString, err := _datastore.GetString(serverMetadataTagsKey) + if tagsString == "" { + return []string{} + } + if err != nil { log.Traceln(serverMetadataTagsKey, err) return []string{}