Skip to content

Commit

Permalink
update method name
Browse files Browse the repository at this point in the history
  • Loading branch information
mirshahriar committed Dec 1, 2022
1 parent 5a661ca commit 5746c3e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/cloud/cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,7 @@ func newCmdClusterList() *cobra.Command {
func executeClusterListCmd(lf clusterListFlags) error {
client := model.NewClient(lf.serverAddress)

paging := getPagingModel(lf.pagingFlags)
paging := getPaging(lf.pagingFlags)

clusters, err := client.GetClusters(&model.GetClustersRequest{
Paging: paging,
Expand Down
2 changes: 1 addition & 1 deletion cmd/cloud/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ func registerPagingFlags(cmd *cobra.Command) {
cmd.Flags().Bool("include-deleted", false, "Whether to include deleted objects.")
}

func getPagingModel(pf pagingFlags) model.Paging {
func getPaging(pf pagingFlags) model.Paging {
return model.Paging{
Page: pf.page,
PerPage: pf.perPage,
Expand Down

0 comments on commit 5746c3e

Please sign in to comment.