Kevin Wan 2 лет назад
Родитель
Сommit
49f73265b9
1 измененных файлов с 1 добавлено и 1 удалено
  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
 	}