Skip to content

Commit

Permalink
command/plugin_status_csi: plugin status :id keeps expected count
Browse files Browse the repository at this point in the history
  • Loading branch information
langmartin committed Aug 31, 2020
1 parent 46d9cf4 commit cce82a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions command/plugin_status_csi.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,9 @@ func (c *PluginStatusCommand) csiFormatPlugin(plug *api.CSIPlugin) (string, erro
fmt.Sprintf("Provider|%s", plug.Provider),
fmt.Sprintf("Version|%s", plug.Version),
fmt.Sprintf("Controllers Healthy|%d", plug.ControllersHealthy),
fmt.Sprintf("Controllers Expected|%d", len(plug.Controllers)),
fmt.Sprintf("Controllers Expected|%d", plug.ControllersExpected),
fmt.Sprintf("Nodes Healthy|%d", plug.NodesHealthy),
fmt.Sprintf("Nodes Expected|%d", len(plug.Nodes)),
fmt.Sprintf("Nodes Expected|%d", plug.NodesExpected),
}

// Exit early
Expand Down

0 comments on commit cce82a2

Please sign in to comment.