-
-
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
coreapi: Pin API #4575
coreapi: Pin API #4575
Conversation
t.Error(err) | ||
} | ||
|
||
err = api.Pin().Add(ctx, p) |
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.
Should be verify the content was pined? e.g. list, err = api.Pin().Ls(ctx) && len(list) == 1
as is done elsewhere?
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.
This is more of an example rather than a test, since this is tested a few times below I skipped that check here.
2ea75a1
to
10e16a5
Compare
10e16a5
to
896cc37
Compare
License: MIT Signed-off-by: Łukasz Magiera <[email protected]>
License: MIT Signed-off-by: Łukasz Magiera <[email protected]>
License: MIT Signed-off-by: Łukasz Magiera <[email protected]>
License: MIT Signed-off-by: Łukasz Magiera <[email protected]>
896cc37
to
242c98f
Compare
Rebased |
TODO: