From 83ad6db3947633b8bce30e5b4149995b64d5c40d Mon Sep 17 00:00:00 2001 From: Gabe Kangas Date: Sat, 22 May 2021 21:32:56 -0700 Subject: [PATCH] If tag storage is an empty string return back an empty slice. Fixes #974 --- core/data/config.go | 4 ++++ 1 file changed, 4 insertions(+) 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{}