1
0
mirror of https://github.com/go-kratos/kratos.git synced 2025-03-17 21:07:54 +02:00

panic when have not -conf (#40)

This commit is contained in:
Felix Hao 2019-04-25 14:13:54 +08:00 committed by GitHub
parent 22cae18871
commit bd2d576848
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,6 +24,7 @@ func Init() (err error) {
DefaultClient, err = NewFile(confPath)
} else {
// TODO: config service
panic("Please specify a file or dir name by -conf flag.")
return
}
if err != nil {