-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Swarm filters save config (fix #2878) #2880
Swarm filters save config (fix #2878) #2880
Conversation
License: MIT Signed-off-by: Yuval Langer <[email protected]>
Also added types and marshalers to the swarmFiltersAddCmd and swarmFiltersRmCmd structs. License: MIT Signed-off-by: Yuval Langer <[email protected]>
|
||
if len(req.Arguments()) == 0 { | ||
res.SetError(errors.New("no filters to add"), cmds.ErrClient) | ||
return |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Move this before opening the repo
License: MIT Signed-off-by: Yuval Langer <[email protected]>
To prevent future regressions it would be great to have test cases for this behaviour, please check Apart from that it looks quite good. |
Added tests to |
License: MIT Signed-off-by: Yuval Langer <[email protected]>
|
LGTM |
LGTM, thanks @yuvallanger |
Please review. (ref: #2878)