Skip to content

Commit

Permalink
Fix subctl show networks and versions output
Browse files Browse the repository at this point in the history
Signed-off-by: yboaron <[email protected]>
  • Loading branch information
yboaron authored and mkolesnik committed Mar 8, 2022
1 parent c9090af commit e644897
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/subctl/cmd/show/networks.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ func showNetwork(cluster *cmd.Cluster) bool {
fmt.Println(msg)
}

clusterNetwork.Show()
status.EndWith(cli.Success)
clusterNetwork.Show()

return true
}
2 changes: 1 addition & 1 deletion pkg/subctl/cmd/show/versions.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,8 @@ func getVersions(cluster *cmd.Cluster) bool {
versions, err = getServiceDiscoveryVersions(submarinerClient, versions)
exit.OnErrorWithMessage(err, "Unable to get the Service-Discovery version")

printVersions(versions)
status.EndWith(cli.Success)
printVersions(versions)

return true
}
Expand Down

0 comments on commit e644897

Please sign in to comment.