-
Notifications
You must be signed in to change notification settings - Fork 366
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support --sort-by flag for "antctl get networkpolicy" for Agent
Previous to this change, the flag was only supported in "Controller mode". This was a bit confusing when running "antctl get networkpolicy" from the Agent Pod, because 1) the option shows in the examples from the help message, and 2) the documentation doesn't make it clear that this flag only works in "Controller mode". Rather than update the documentation and add complexity in the help message, I am adding support for that flag in "Agent mode". There doesn't seem to be any reason not to. Signed-off-by: Antonin Bas <abas@vmware.com>
- Loading branch information
1 parent
382f49e
commit d5ed336
Showing
2 changed files
with
12 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