-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check supported version for
CreateNamespaces
RPC
We now pre-check if conmon-rs supports the `CreateNamespaces` RPC and return a wrapped defined error if not. Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
- Loading branch information
1 parent
2dfd8fa
commit 187ea17
Showing
3 changed files
with
22 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
package client | ||
|
||
import "errors" | ||
|
||
// ErrUnsupported gets returned if the server does not the feature. | ||
var ErrUnsupported = errors.New("feature not supported by this conmon-rs version") |