Shedding interface because there is no good reason to have it.

This commit is contained in:
Renan DelValle 2018-11-07 18:24:21 -08:00
parent 2eaa60f681
commit a23bd1b2cc
No known key found for this signature in database
GPG key ID: C240AD6D6F443EC9
5 changed files with 54 additions and 103 deletions

View file

@ -116,7 +116,7 @@ func ExponentialBackoff(backoff Backoff, logger Logger, condition ConditionFunc)
type auroraThriftCall func() (resp *aurora.Response, err error)
// Duplicates the functionality of ExponentialBackoff but is specifically targeted towards ThriftCalls.
func (r *realisClient) thriftCallWithRetries(thriftCall auroraThriftCall) (*aurora.Response, error) {
func (r *RealisClient) thriftCallWithRetries(thriftCall auroraThriftCall) (*aurora.Response, error) {
var resp *aurora.Response
var clientErr error
var curStep int