cloudfoundry/garden

error returned from SetGraceTime is ignored

Closed this issue · 3 comments

Hi there!

We use Pivotal Tracker to provide visibility into what our team is working on. A story for this issue has been automatically created.

The current status is as follows:

  • #109274420 error returned from SetGraceTime is ignored

This comment, as well as the labels on the issue, will be automatically updated as the status in Tracker changes.

julz commented

ah, yeah, I think the errors on SetGraceTime were added just in order to be able for garden to return an error to the client (we had to add the errors to both since the same interface is used for the client and the backend implementation of Container), we never envisaged the backend wanting to return an error from this (or from GraceTime, as you've noticed in #42). I'd be totally fine with a pull request that allowed the backend to return an error from these calls.

julz commented

Im going to close this and #42 because I don't think we plan to work on this ourselves in the near future, but we'd be happy to accept a pull request that added this.