forked from moby/moby
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
"docker network" missing from docker --help
Fixed issues related to network subcommand tests - "network" in exempted list of short help check - Condition for exact test modified to meet experimental commands - Sorting of commands done in flags_experimental Signed-off-by: Kunal Kushwaha <kunal.kushwaha@gmail.com>
- Loading branch information
1 parent
2434bd8
commit 44da5c3
Showing
3 changed files
with
22 additions
and
8 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
// +build experimental | ||
|
||
package main | ||
|
||
import "sort" | ||
|
||
func init() { | ||
dockerCommands = append(dockerCommands, command{"network", "Network management"}) | ||
|
||
//Sorting logic required here to pass Command Sort Test. | ||
sort.Sort(byName(dockerCommands)) | ||
} |
This file contains 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