Skip to content

Commit 451006b

Browse files
fix: start etcd if not using memory as storage for Metasrv (#209)
1 parent 3d16cf7 commit 451006b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/cluster/baremetal/create.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ func (c *Cluster) Create(ctx context.Context, options *opt.CreateOptions) error
5252
return nil
5353
}
5454

55-
if c.useMemoryMeta {
55+
if !c.useMemoryMeta {
5656
if err := withSpinner("Etcd Cluster", c.createEtcdCluster); err != nil {
5757
return err
5858
}

0 commit comments

Comments
 (0)