commit | 29ae6b37381a93b881a4658583fcacc6d31a833d | [log] [tgz] |
---|---|---|
author | jrperritt <jrperritt@gmail.com> | Wed Apr 13 12:59:37 2016 -0500 |
committer | jrperritt <jrperritt@gmail.com> | Wed Apr 13 12:59:37 2016 -0500 |
tree | dd847c1f01692742df9969fa3e20c98d3588e233 | |
parent | 2be387af6548e2998407e9f8e3f4337e0ebad3a1 [diff] [blame] |
no naked returns in go; fix auth v3 unit tests
diff --git a/pagination/pager.go b/pagination/pager.go index 9fa1f93..1d3e907 100644 --- a/pagination/pager.go +++ b/pagination/pager.go
@@ -202,7 +202,7 @@ body.Index(i).Set(reflect.ValueOf(s)) } default: - err = gophercloud.ErrUnexpectedType{} + err := gophercloud.ErrUnexpectedType{} err.Expected = "map[string]interface{}/[]byte/[]interface{}" err.Actual = fmt.Sprintf("%v", reflect.TypeOf(testPage.GetBody())) return nil, err