Skip to content
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

Integrate with scaling web-UI #65

Merged
merged 4 commits into from
Mar 23, 2018
Merged

Integrate with scaling web-UI #65

merged 4 commits into from
Mar 23, 2018

Conversation

ewoutp
Copy link
Contributor

@ewoutp ewoutp commented Mar 22, 2018

No description provided.

}
// Let's update the spec
current, err := d.deps.DatabaseCRCli.DatabaseV1alpha().ArangoDeployments(d.apiObject.Namespace).Get(d.apiObject.Name, metav1.GetOptions{})
if err != nil {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe a misunderstanding and also premature optimisation. Couldn't you release the mutex already around here?
I was assuming that the update further down would be guarding itself?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That would be ok, but makes the rest of the code more complicated because you cannot unlock in defer AND here.

Copy link
Contributor

@kvahed kvahed left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a question. No complaints.

@ewoutp ewoutp merged commit da9e477 into master Mar 23, 2018
@ewoutp ewoutp deleted the ui-integration branch March 23, 2018 09:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants