You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by da...@apache.org on 2018/03/09 18:42:32 UTC
[incubator-trafficcontrol] 10/19: corrected for the types struct
This is an automated email from the ASF dual-hosted git repository.
dangogh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-trafficcontrol.git
commit ff7f5910dfd58093dac635feb96b56fcdb03d245
Author: Dewayne Richardson <de...@apache.org>
AuthorDate: Thu Mar 8 14:40:46 2018 -0700
corrected for the types struct
---
traffic_ops/client/type.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/traffic_ops/client/type.go b/traffic_ops/client/type.go
index 4f58295..f8617b3 100644
--- a/traffic_ops/client/type.go
+++ b/traffic_ops/client/type.go
@@ -43,7 +43,7 @@ func (to *Session) GetTypes(useInTable ...string) ([]tc.Type, ReqInf, error) {
}
defer resp.Body.Close()
- var data tc.TypeResponse
+ var data tc.TypesResponse
if err := json.NewDecoder(resp.Body).Decode(&data); err != nil {
return nil, reqInf, err
}
--
To stop receiving notification emails like this one, please contact
dangogh@apache.org.