Import DisplayablePorts from moby/moby source#236
Merged
dnephin merged 1 commit intodocker:masterfrom Jun 23, 2017
Merged
Conversation
Member
|
Looks like CI (lint) isn't happy; |
thaJeztah
requested changes
Jun 23, 2017
Member
thaJeztah
left a comment
There was a problem hiding this comment.
one nit, but LGTM otherwise
| "strings" | ||
| "time" | ||
|
|
||
| "sort" |
dnephin
reviewed
Jun 23, 2017
|
|
||
| for _, port := range cases { | ||
| actual := DisplayablePorts(port.ports) | ||
| if port.expected != actual { |
| expected string | ||
| } | ||
|
|
||
| // DisplayablePorts |
Contributor
There was a problem hiding this comment.
Comment can probably be removed 😄
Collaborator
Author
There was a problem hiding this comment.
oh lol, I just copied it, yeah it can :D
0739f38 to
f1c953c
Compare
Collaborator
Author
|
Updated, should be fixed 👼 |
Codecov Report
@@ Coverage Diff @@
## master #236 +/- ##
==========================================
+ Coverage 46.96% 47.21% +0.25%
==========================================
Files 171 171
Lines 11501 11552 +51
==========================================
+ Hits 5401 5454 +53
+ Misses 5790 5787 -3
- Partials 310 311 +1 |
f1c953c to
5dc31fb
Compare
dnephin
reviewed
Jun 23, 2017
| "github.com/stretchr/testify/require" | ||
| ) | ||
|
|
||
| // nolint: lllf |
Contributor
There was a problem hiding this comment.
lllf?
Is this on the wrong function? It used to pass.
Collaborator
Author
There was a problem hiding this comment.
ah dang it.. it's a typo on my part after running the lint 😱
Collaborator
Author
There was a problem hiding this comment.
oh right 😛 Updated :)
5dc31fb to
eabff39
Compare
Member
This has nothing to do in the `api` package for moby as it's just a cli display function. Signed-off-by: Vincent Demeester <[email protected]>
eabff39 to
9e142ca
Compare
Collaborator
Author
|
@thaJeztah oups, done 🎐 |
thaJeztah
added a commit
to thaJeztah/cli
that referenced
this pull request
Jul 2, 2017
Includes changes from; - Fix handling of remote "git@" notation (moby/moby#33696) - Move some `api` package functions away moby/moby#33798 (related to docker#236) - Update go-connections dependency moby/moby#33814 (already vendored in docker#238) - Set ping version even on error (moby/moby#33827) - Do not add duplicate platform information to service spec (moby/moby#33867) - Refactor MountPoint Setup function in volume.go (moby/moby#33890) Signed-off-by: Sebastiaan van Stijn <[email protected]>
thaJeztah
added a commit
to thaJeztah/cli
that referenced
this pull request
Jul 2, 2017
Includes changes from; - Add a LastTagTime for images (moby/moby#31497) - Fix handling of remote "git@" notation (moby/moby#33696) - Move some `api` package functions away (moby/moby#33798) (related to docker#236) - Set ping version even on error (moby/moby#33827) - Do not add duplicate platform information to service spec (moby/moby#33867) - Refactor MountPoint Setup function in volume.go (moby/moby#33890) Signed-off-by: Sebastiaan van Stijn <[email protected]>
thaJeztah
added a commit
to thaJeztah/cli
that referenced
this pull request
Jul 3, 2017
Includes changes from; - Add a LastTagTime for images (moby/moby#31497) - Fix handling of remote "git@" notation (moby/moby#33696) - Move some `api` package functions away (moby/moby#33798) (related to docker#236) - Set ping version even on error (moby/moby#33827) - Do not add duplicate platform information to service spec (moby/moby#33867) - Refactor MountPoint Setup function in volume.go (moby/moby#33890) Signed-off-by: Sebastiaan van Stijn <[email protected]>
thaJeztah
added a commit
to thaJeztah/cli
that referenced
this pull request
Jul 5, 2017
Includes changes from; - Add a LastTagTime for images (moby/moby#31497) - Fix handling of remote "git@" notation (moby/moby#33696) - Move some `api` package functions away (moby/moby#33798) (related to docker#236) - Set ping version even on error (moby/moby#33827) - Do not add duplicate platform information to service spec (moby/moby#33867) - Refactor MountPoint Setup function in volume.go (moby/moby#33890) Signed-off-by: Sebastiaan van Stijn <[email protected]>
andrewhsu
pushed a commit
to docker-archive/docker-ce
that referenced
this pull request
Jul 14, 2017
Includes changes from; - Add a LastTagTime for images (moby/moby#31497) - Fix handling of remote "git@" notation (moby/moby#33696) - Move some `api` package functions away (moby/moby#33798) (related to docker/cli#236) - Set ping version even on error (moby/moby#33827) - Do not add duplicate platform information to service spec (moby/moby#33867) - Refactor MountPoint Setup function in volume.go (moby/moby#33890) Signed-off-by: Sebastiaan van Stijn <[email protected]> Upstream-commit: 366d3ec971d8007c667e8d7dc8e35a346fb19539 Component: cli
alshabib
pushed a commit
to alshabib/cli
that referenced
this pull request
Aug 1, 2017
Includes changes from; - Add a LastTagTime for images (moby/moby#31497) - Fix handling of remote "git@" notation (moby/moby#33696) - Move some `api` package functions away (moby/moby#33798) (related to docker#236) - Set ping version even on error (moby/moby#33827) - Do not add duplicate platform information to service spec (moby/moby#33867) - Refactor MountPoint Setup function in volume.go (moby/moby#33890) Signed-off-by: Sebastiaan van Stijn <[email protected]>
nobiit
pushed a commit
to nobidev/docker-cli
that referenced
this pull request
Nov 19, 2025
…nfigs-idempotence [17.09] sort secrets and configs to ensure idempotence
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This has nothing to do in the
apipackage for moby as it's just acli display function.
Related PR in moby/moby: moby/moby#33798
Signed-off-by: Vincent Demeester [email protected]