commit | 786a6734939b5dda315f25dbcc918e453910532d | [log] [tgz] |
---|---|---|
author | Jamie Hannaford <jamie.hannaford@rackspace.com> | Wed Mar 25 14:17:00 2015 +0100 |
committer | Jamie Hannaford <jamie.hannaford@rackspace.com> | Wed Mar 25 14:17:00 2015 +0100 |
tree | 29ef748c4fac7b355428924091b37ff3665c53cd | |
parent | e182887198cf49d2ec93aba9096045ec90df4999 [diff] [blame] |
Catch the straggler
diff --git a/provider_client.go b/provider_client.go index 7d75732..39fecc5 100644 --- a/provider_client.go +++ b/provider_client.go
@@ -278,7 +278,7 @@ opts = &RequestOpts{} } - if v, ok := (JSONBody).(io.Reader); ok == true { + if v, ok := (JSONBody).(io.Reader); ok { opts.RawBody = v } else if JSONBody != nil { opts.JSONBody = JSONBody