Kevin Wan 2 éve
szülő
commit
49f73265b9
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      core/conf/config.go

+ 1 - 1
core/conf/config.go

@@ -353,7 +353,7 @@ func (e conflictKeyError) Error() string {
 }
 
 func getFullName(parent, child string) string {
-	if parent == "" {
+	if len(parent) == 0 {
 		return child
 	}