-
Notifications
You must be signed in to change notification settings - Fork 27
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
Update gomod #97
Update gomod #97
Conversation
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.
Can you please update this PR to pass down any context arguments wherever possible? Thanks.
The reason for all of the OpenFGA imports can be shown with
I'll try decoupling |
TIL |
Sounds good, perhaps we can use api.StatusErrorf(http.StatusConflict) instead of |
Yeah that's my plan. Also, moving |
@markylaing sounds good. |
With canonical/lxd#13252 the go mod looks like:
|
that has been merged now |
Signed-off-by: Wesley Hershberger <wesley.hershberger@canonical.com>
`query.Retry` takes a context as of 8e4564c This allows microcluster to build without changing the behavior of `DB.Transaction` or `DB.retry`. Signed-off-by: Wesley Hershberger <wesley.hershberger@canonical.com>
Thanks all; reran |
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.
Looks good thanks!
I want to use the changes from canonical/lxd#13213 in microcloud; however, building microcloud after
make update-gomod
fails due to the changes in canonical/lxd@0d903b4. The changes ininternal/db
allow microcluster to compile again.Alternatively, pass the context down through
DB.retry
as in MggMuggins@fde3e86. Let me know which is preferable.