gocd-s3-artifacts icon indicating copy to clipboard operation
gocd-s3-artifacts copied to clipboard

Handle corner case in getLatest artifact, which cascades to Poller

Open brewkode opened this issue 7 years ago • 1 comments

In our setup, we've noticed that getObjectMetadata request (after doing a getLatest) fails with 404. One possible code path that leads to this is getLatest returning Revisions.base(), which is problematic, since, we consider it to be a valid revision and try to do a metadata fetch. Added a fix to handle it with some logging enabled on the plug-in side.

brewkode avatar Jan 19 '18 12:01 brewkode

@ashwanthkumar @manojlds Please take a look at this and share your feedback

brewkode avatar Jan 19 '18 12:01 brewkode