Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Suggestion from andrewsomething. Changes action IDs to integers instead of UUIDs.

Co-authored-by: Andrew Starr-Bochicchio <[email protected]>
  • Loading branch information
dbrian57 and andrewsomething authored Sep 12, 2023
1 parent 3e0d3c2 commit e6634af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commands/actions.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ You can retrieve information for a specific action by adding the action's ID as
For example, if you find an action when calling `+"`"+`doctl compute action list`+"`"+` that has a status of `+"`"+`in-progress`+"`"+`, you can note the action ID and call `+"`"+`doctl compute action wait <action-id>`+"`"+`, and doctl will appear to "hang" until the action has completed. This can be useful for scripting purposes.`, Writer,
aliasOpt("w"), displayerType(&displayers.Action{}))
cmdActionWait.Example = `The following example waits for the action ` + "`" + `418b7972-fc67-41ea-ab4b-6f9477c4f7d8` + "`" + ` to complete before allowing further commands to execute: doctl compute action wait 418b7972-fc67-41ea-ab4b-6f9477c4f7d8`
cmdActionWait.Example = `The following example waits for the action ` + "`" + `123456` + "`" + ` to complete before allowing further commands to execute: doctl compute action wait 123456`
AddIntFlag(cmdActionWait, doctl.ArgPollTime, "", 5, "Re-poll time in seconds")

return cmd
Expand Down

0 comments on commit e6634af

Please sign in to comment.