Add missing ReconcileSummaries API method

References https://www.nomadproject.io/api/system.html#reconcile-summaries
This commit is contained in:
Christian Winther 2017-08-24 11:55:10 +02:00 committed by GitHub
parent 16a18e9db6
commit c788fb1803

View file

@ -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
}