-
Notifications
You must be signed in to change notification settings - Fork 255
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Catch conflicts between namespace, pod and service arguments
We catch some common mistakes when querying for namespaces. * We return an error if the pod and service flags request different namespaces, as this will never yield any flows. * We return an error if the namespace and the pod and/or service flags request flow from different namespace, as it is not clear what for example `hubble observe -n foo --pod bar/buzz --pod blub` should do. Signed-off-by: Fabian Fischer <[email protected]>
- Loading branch information
Showing
2 changed files
with
85 additions
and
5 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