Skip to content
This repository has been archived by the owner on May 16, 2021. It is now read-only.

Commit

Permalink
Update The Name of Cursor Variable to Reduce Confussion
Browse files Browse the repository at this point in the history
  • Loading branch information
mainawycliffe committed Apr 19, 2020
1 parent 79c708b commit 8d12314
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/listUsers.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ kamanda auth users -output yaml`,
utils.StdOutError(os.Stderr, "Unsupported output!")
os.Exit(1)
}
token, err := cmd.Flags().GetString("nextPageToken")
nextPageToken, err := cmd.Flags().GetString("nextPageToken")
if err != nil {
utils.StdOutError(os.Stderr, "Error reading nextPageToken: %s", err.Error())
os.Exit(1)
}
getUsers, err := auth.ListUsers(context.Background(), 0, token)
getUsers, err := auth.ListUsers(context.Background(), 0, nextPageToken)
if err != nil {
utils.StdOutError(os.Stderr, "Error! %s", err.Error())
os.Exit(1)
Expand Down

0 comments on commit 8d12314

Please sign in to comment.