Skip to content

Commit

Permalink
Revert "cmd/Status: Add podman version as part of crc status"
Browse files Browse the repository at this point in the history
This reverts commit acd5fb4.
Since it is missed during 095fb5 one.
  • Loading branch information
praveenkumar committed May 21, 2024
1 parent 4e1a5b5 commit 46d6014
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 5 deletions.
2 changes: 0 additions & 2 deletions cmd/crc/cmd/status.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ type status struct {
CrcStatus string `json:"crcStatus,omitempty"`
OpenShiftStatus types.OpenshiftStatus `json:"openshiftStatus,omitempty"`
OpenShiftVersion string `json:"openshiftVersion,omitempty"`
PodmanVersion string `json:"podmanVersion,omitempty"`
DiskUsage int64 `json:"diskUsage,omitempty"`
DiskSize int64 `json:"diskSize,omitempty"`
CacheUsage int64 `json:"cacheUsage,omitempty"`
Expand Down Expand Up @@ -168,7 +167,6 @@ func getStatus(client *daemonclient.Client, cacheDir string) *status {
CrcStatus: clusterStatus.CrcStatus,
OpenShiftStatus: types.OpenshiftStatus(clusterStatus.OpenshiftStatus),
OpenShiftVersion: clusterStatus.OpenshiftVersion,
PodmanVersion: clusterStatus.PodmanVersion,
DiskUsage: clusterStatus.DiskUse,
DiskSize: clusterStatus.DiskSize,
RAMSize: clusterStatus.RAMSize,
Expand Down
1 change: 0 additions & 1 deletion cmd/crc/cmd/status_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,6 @@ func TestJsonStatus(t *testing.T) {
"crcStatus": "Running",
"openshiftStatus": "Running",
"openshiftVersion": "4.5.1",
"podmanVersion": "3.3.1",
"diskUsage": 10000000000,
"diskSize": 20000000000,
"cacheUsage": 10000,
Expand Down
1 change: 0 additions & 1 deletion pkg/crc/machine/fakemachine/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@ func (c *Client) Status() (*types.ClusterStatusResult, error) {
CrcStatus: state.Running,
OpenshiftStatus: types.OpenshiftRunning,
OpenshiftVersion: "4.5.1",
PodmanVersion: "3.3.1",
DiskUse: 10_000_000_000,
DiskSize: 20_000_000_000,
RAMSize: 2_000,
Expand Down
1 change: 0 additions & 1 deletion pkg/crc/machine/types/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ type ClusterStatusResult struct {
CrcStatus state.State
OpenshiftStatus OpenshiftStatus
OpenshiftVersion string
PodmanVersion string
DiskUse int64
DiskSize int64
RAMUse int64
Expand Down

0 comments on commit 46d6014

Please sign in to comment.