diff --git a/internal/pkg/node/methods.go b/internal/pkg/node/methods.go index 1c3e4607..b9a2ebca 100644 --- a/internal/pkg/node/methods.go +++ b/internal/pkg/node/methods.go @@ -213,10 +213,7 @@ func (ent *Entry) GetRealSlice() []string { true if the entry has set a real value, else false. */ func (ent *Entry) GotReal() bool { - if len(ent.value) == 0 { - return false - } - return true + return len(ent.value) != 0 } /**********