-
Notifications
You must be signed in to change notification settings - Fork 10
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
Change the main to rely on the Sync class (HPC-7469) #89
base: master
Are you sure you want to change the base?
Conversation
if opts.options.user: | ||
changed_accounts = client.account.institute[institute].modified[last_timestamp].get()[1] | ||
if self.options.user: | ||
changed_accounts, _ = self.apc.get_accounts() # we ignore inactive accounts |
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.
no institute nor timestamp passed?
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.
No, this taken care of by the Sync class.
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 self.get_accounts, the timestamp is processed in sync class, not APclient
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.
and found no clue where the site/institute should have been taken care of
44f5438
to
47e2ce3
Compare
@itkovian conflicts |
if users_fail or quota_fail or vos_fail: | ||
return users_fail + quota_fail + vos_fail | ||
else: | ||
return False |
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.
nothing done with stats? set self.thresholds = stats ?
No description provided.