Skip to content

Commit

Permalink
fix: vsctl cluster spec info error (#550)
Browse files Browse the repository at this point in the history
Signed-off-by: jyjiangkai <[email protected]>
  • Loading branch information
hwjiangkai authored Mar 15, 2023
1 parent 6e74098 commit 1ae6047
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vsctl/command/cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ func createClusterCommand() *cobra.Command {
if c.Store.StorageClass == nil {
clusterspec.AppendRow(table.Row{"vanus", *c.Version, "store", *c.Store.Replicas, *c.Store.StorageSize, "-"})
} else {
clusterspec.AppendRow(table.Row{"vanus", *c.Version, "etcd", *c.Etcd.Replicas, *c.Etcd.StorageClass, *c.Etcd.StorageSize, *c.Store.StorageClass})
clusterspec.AppendRow(table.Row{"vanus", *c.Version, "store", *c.Store.Replicas, *c.Store.StorageSize, *c.Store.StorageClass})
}
clusterspec.AppendSeparator()
clusterspec.AppendRow(table.Row{"vanus", *c.Version, "controller", *c.Controller.Replicas, "-", "-"})
Expand Down

0 comments on commit 1ae6047

Please sign in to comment.