server: automatically enable dev mode if dev-consul is provided (#7847)

This commit is contained in:
Calvin Leung Huang
2019-11-11 09:51:49 -08:00
committed by GitHub
parent 033c29a26c
commit c439a15f80

View File

@@ -765,7 +765,7 @@ func (c *ServerCommand) Run(args []string) int {
}
// Automatically enable dev mode if other dev flags are provided.
if c.flagDevHA || c.flagDevTransactional || c.flagDevLeasedKV || c.flagDevThreeNode || c.flagDevFourCluster || c.flagDevAutoSeal || c.flagDevKVV1 {
if c.flagDevConsul || c.flagDevHA || c.flagDevTransactional || c.flagDevLeasedKV || c.flagDevThreeNode || c.flagDevFourCluster || c.flagDevAutoSeal || c.flagDevKVV1 {
c.flagDev = true
}