jrxFive / python-nomad

Client library Hashicorp Nomad
https://python-nomad.readthedocs.io/en/latest/
MIT License
139 stars 73 forks source link

allocs: signal #117

Open resmo opened 3 years ago

codecov-commenter commented 3 years ago

Codecov Report

Merging #117 (b634970) into master (8c41f30) will decrease coverage by 0.03%. The diff coverage is 33.33%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #117      +/-   ##
==========================================
- Coverage   70.57%   70.53%   -0.04%     
==========================================
  Files          26       26              
  Lines        1203     1205       +2     
==========================================
+ Hits          849      850       +1     
- Misses        354      355       +1     
Impacted Files Coverage Δ
nomad/api/client.py 72.44% <33.33%> (-0.47%) :arrow_down:
nomad/api/jobs.py 87.50% <0.00%> (ø)

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 8c41f30...b634970. Read the comment docs.

haowei99 commented 3 years ago

Notice how the api address is slightly different for alloc signal and alloc stop:

Signal - /v1/client/allocation/:alloc_id/signal Stop - /v1/allocation/:alloc_id/stop