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

fix(api, worker): limit hatcheries inconsistencies #3215

Merged
merged 2 commits into from Aug 17, 2018

Conversation

fsamin
Copy link
Member

@fsamin fsamin commented Aug 17, 2018

  1. Description
  2. Related issues
  3. About tests
  4. Mentions

@ovh/cds

@fsamin fsamin requested review from yesnault and bnjjj August 17, 2018 08:32
return
case <-registerTick.C:
log.Debug("heartbeat")
w.doRegister()

Choose a reason for hiding this comment

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

Error return value of w.doRegister is not checked

@ovh-cds
Copy link
Collaborator

ovh-cds commented Aug 17, 2018

CDS Report build-engine-cli-tools#5604.0 ✘

  • Build minimal
    • cds cli legacy ✔
    • cdsctl linux ✔
    • Engine Build linux amd64 ✔
    • tools/debpacker ✘
    • tools/os-ansible-inventory ✔
    • Worker linux amd64 / 386 ✔

ModelID: w.model.ID,
}
if err := w.register(form); err != nil {
log.Info("Cannot register: %s", err)
Copy link
Contributor

Choose a reason for hiding this comment

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

Warning or error ?

@yesnault yesnault merged commit 6d8e0ae into master Aug 17, 2018
@fsamin fsamin deleted the fsamin/fix-2018-08-17-10-30-03 branch August 17, 2018 19:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants