Kevin Wan 2 anni fa
parent
commit
49f73265b9
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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
 	}