Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add "resume" as an alias for "unpause" #11431

Merged
merged 3 commits into from
May 19, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions cmd/minikube/cmd/unpause.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,9 @@ import (

// unpauseCmd represents the docker-pause command
var unpauseCmd = &cobra.Command{
Use: "unpause",
Short: "unpause Kubernetes",
Use: "unpause",
Aliases: []string{"resume"},
Short: "unpause Kubernetes",
Run: func(cmd *cobra.Command, args []string) {
cname := ClusterFlagValue()
register.SetEventLogPath(localpath.EventLog(cname))
Expand Down
4 changes: 4 additions & 0 deletions site/content/en/docs/commands/unpause.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ unpause Kubernetes
minikube unpause [flags]
```

### Aliases

[resume]

### Options

```
Expand Down
1 change: 0 additions & 1 deletion site/content/en/docs/contrib/tests.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -365,4 +365,3 @@ upgrades Kubernetes from oldest to newest
## TestMissingContainerUpgrade
tests a Docker upgrade where the underlying container is missing

TEST COUNT: 116