cmd serve: update parse config error
This commit is contained in:
parent
9c74b4ddc1
commit
d91bb36ccb
@ -100,7 +100,7 @@ func serve(cmd *cobra.Command, args []string) error {
|
|||||||
|
|
||||||
c, err := config.Parse(serveOpts.config)
|
c, err := config.Parse(serveOpts.config)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return errors.Wrapf(err, "cannot parse config")
|
return errors.Wrapf(err, "config error")
|
||||||
}
|
}
|
||||||
|
|
||||||
if serveOpts.embeddedEtcd {
|
if serveOpts.embeddedEtcd {
|
||||||
|
Loading…
Reference in New Issue
Block a user