panic when have not -conf (#40)

pull/50/head
Felix Hao 6 years ago committed by GitHub
parent 22cae18871
commit bd2d576848
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      pkg/conf/paladin/default.go

@ -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 {

Loading…
Cancel
Save