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 gateway backups #568

Merged
merged 2 commits into from
Oct 22, 2019
Merged

Fix gateway backups #568

merged 2 commits into from
Oct 22, 2019

Conversation

Pierre-Gilles
Copy link
Contributor

@Pierre-Gilles Pierre-Gilles commented Oct 22, 2019

Pull Request check-list

To ensure your Pull Request can be accepted as fast as possible, make sure to review and check all of these items:

  • If your changes affects code, did your write the tests?
  • Are tests passing? (npm test on both front/server)
  • Is the linter passing? (npm run eslint on both front/server)
  • Did you run prettier? (npm run prettier on both front/server)
  • If your changes modify the API (REST or Node.js), did you modify the API documentation? (Documentation is based on comments in code)
  • If you are adding a new features/services which needs explanation, did you modify the user documentation? See the GitHub repo and the website.
  • Did you add fake requests data for the demo mode (front/src/config/demo.json) so that the demo website is working without a backend? (if needed) See https://demo.gladysassistant.com.

NOTE: these things are not required to open a PR and can be done afterwards / while the PR is open.

Description of change

Please provide a description of the change here. It's always best with screenshots, so don't hesitate to add some!

@codecov
Copy link

codecov bot commented Oct 22, 2019

Codecov Report

Merging #568 into master will increase coverage by <.01%.
The diff coverage is 27.27%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #568      +/-   ##
==========================================
+ Coverage   91.72%   91.73%   +<.01%     
==========================================
  Files         381      382       +1     
  Lines        4675     4680       +5     
==========================================
+ Hits         4288     4293       +5     
  Misses        387      387
Flag Coverage Δ
#server 91.73% <27.27%> (ø) ⬆️
Impacted Files Coverage Δ
server/config/scheduler-jobs.js 100% <ø> (ø) ⬆️
server/lib/gateway/index.js 100% <100%> (ø) ⬆️
server/lib/gateway/gateway.checkIfBackupNeeded.js 11.76% <11.76%> (ø)
server/lib/gateway/gateway.init.js 52.94% <50%> (+27.13%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update fcba3d2...a3e117d. Read the comment docs.

@Pierre-Gilles Pierre-Gilles merged commit 5d5ce90 into master Oct 22, 2019
@Pierre-Gilles Pierre-Gilles deleted the fix-gateway-backups branch October 22, 2019 10:08
R6n0 pushed a commit to R6n0/Gladys that referenced this pull request Dec 2, 2020
* Fix gateway backups

* Not querying backup if instance is not connected to Gateway
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.

1 participant