diff --git a/pkg/iodine/iodine.go b/pkg/iodine/iodine.go index 5dd3b4490..481a79339 100644 --- a/pkg/iodine/iodine.go +++ b/pkg/iodine/iodine.go @@ -88,11 +88,8 @@ func GetGlobalState() map[string]string { // GetGlobalStateKey - get value for key from globalState struct func GetGlobalStateKey(k string) string { globalState.RLock() - result, ok := globalState.m[k] + result, _ := globalState.m[k] globalState.RUnlock() - if !ok { - return "" - } return result }