-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This commit defers API version negociation within the dockerCli structure to the point where we need to access server info or the API client itself. This also introduce a "no-remote" annotation, to skip the evaluation of server-side support for those commands (which requires access to server-info). The context subcommands are marked with this "no-remote" annotation so that they respond quickly even if the current context points to an unreachable endpoint. Signed-off-by: Simon Ferquel <[email protected]>
- Loading branch information
1 parent
33c8c05
commit e87de89
Showing
3 changed files
with
36 additions
and
18 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
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