Add missing ReconcileSummaries API method
References https://www.nomadproject.io/api/system.html#reconcile-summaries
This commit is contained in:
parent
16a18e9db6
commit
c788fb1803
|
@ -15,3 +15,9 @@ func (s *System) GarbageCollect() error {
|
|||
_, err := s.client.write("/v1/system/gc", &req, nil, nil)
|
||||
return err
|
||||
}
|
||||
|
||||
func (s *System) ReconcileSummaries() error {
|
||||
var req struct{}
|
||||
_, err := s.client.write("/v1/system/reconcile/summaries", &req, nil, nil)
|
||||
return err
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue