Kevin Wan 2 rokov pred
rodič
commit
49f73265b9
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  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
 	}