Closed bamarni closed 4 years ago
Hum, not sure why it decreased, the method is covered in the test.
The Code type already has a Matches method, not sure why this addition is needed.
On Tue, Aug 6, 2019, 12:22 PM Bilal Amarni notifications@github.com wrote:
Hum, not sure why it decreased, the method is covered in the test.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/mesos/mesos-go/pull/379?email_source=notifications&email_token=AAR5KLGMRNKY6B4AMPZFS2TQDGQLDA5CNFSM4IJX2CP2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3VWAGQ#issuecomment-518742042, or mute the thread https://github.com/notifications/unsubscribe-auth/AAR5KLDCBAPLWMOQZL3SZETQDGQLDANCNFSM4IJX2CPQ .
@jdef : indeed I had missed this method, seems like I can create a 500 Code and invoke Match(err) as an alternative. Thanks!
Being able to get the status code behind a Mesos error is necessary in order to fix:
https://jira.mesosphere.com/browse/DCOS_OSS-5432