forked from p93542168/wheat-cache
chore(project): add conf
This commit is contained in:
parent
8cfed8b325
commit
c84873208b
|
@ -7,7 +7,7 @@
|
||||||
### 描述(做了什么,变更了什么)
|
### 描述(做了什么,变更了什么)
|
||||||
|
|
||||||
|
|
||||||
### 测试用例(新增、改动、可能影响的功能)
|
### 影响到的模块
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -20,9 +20,9 @@ func init() {
|
||||||
case nil:
|
case nil:
|
||||||
case viper.ConfigFileNotFoundError:
|
case viper.ConfigFileNotFoundError:
|
||||||
formatPath := []string{linuxPath, devPath, devPath}
|
formatPath := []string{linuxPath, devPath, devPath}
|
||||||
log.Fatalf("The profile could not be read, read path:%v", formatPath)
|
log.Fatalf("the profile could not be read, read path:%v", formatPath)
|
||||||
default:
|
default:
|
||||||
log.Fatalf("The resolution of the profile failed, err: %v", err)
|
log.Fatalf("the resolution of the profile failed, err: %v", err)
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue