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

remove the status command from docker app CLI #647

Merged
merged 1 commit into from Sep 30, 2019

Conversation

glours
Copy link
Contributor

@glours glours commented Sep 27, 2019

Signed-off-by: Guillaume Lours guillaume.lours@docker.com

- What I did
Remove status command from docker-app CLI

- How I did it
Remove code

- How to verify it

  • execute the command line docker app with docker app status, check it displays
"status" is not a docker app command
See 'docker app --help'

- Description for the changelog
status command has been removed from the CLI

- A picture of a cute animal (not mandatory but encouraged)

image

@@ -316,36 +316,10 @@ func testDockerAppLifecycle(t *testing.T, useBindMount bool) {

// Query the application status
cmd.Command = dockerCli.Command("app", "status", appName)
Copy link
Member

@rumpl rumpl Sep 27, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can remove this too I think.

It reads weirdly for newcomers, why would we check for a random app command and look that the output is that this command is not defined?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👌

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree 👍

@codecov
Copy link

codecov bot commented Sep 27, 2019

Codecov Report

❗ No coverage uploaded for pull request base (master@695509b). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master     #647   +/-   ##
=========================================
  Coverage          ?   71.35%           
=========================================
  Files             ?       48           
  Lines             ?     2451           
  Branches          ?        0           
=========================================
  Hits              ?     1749           
  Misses            ?      480           
  Partials          ?      222
Impacted Files Coverage Δ
internal/commands/root.go 68.68% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 695509b...da6fa10. Read the comment docs.

@rumpl
Copy link
Member

rumpl commented Sep 27, 2019

There are a bunch of references to the status command in the examples, we should remove them

Signed-off-by: Guillaume Lours <guillaume.lours@docker.com>
Copy link
Contributor

@silvin-lubecki silvin-lubecki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@silvin-lubecki silvin-lubecki merged commit 98cd1c5 into docker:master Sep 30, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants