You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by mi...@apache.org on 2017/04/19 21:45:50 UTC
[7/8] incubator-trafficcontrol git commit: make SetNumber an int
instead of string
make SetNumber an int instead of string
Project: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/commit/be6dfe39
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/tree/be6dfe39
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/diff/be6dfe39
Branch: refs/heads/master
Commit: be6dfe39a2c7a5ff8a4b3dc56a58cef533cb9b1d
Parents: b6c0c0c
Author: David Neuman <da...@gmail.com>
Authored: Mon Apr 17 10:30:55 2017 -0600
Committer: Jeremy Mitchell <mi...@gmail.com>
Committed: Wed Apr 19 15:45:00 2017 -0600
----------------------------------------------------------------------
traffic_ops/client/delivery_service_resources.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/be6dfe39/traffic_ops/client/delivery_service_resources.go
----------------------------------------------------------------------
diff --git a/traffic_ops/client/delivery_service_resources.go b/traffic_ops/client/delivery_service_resources.go
index 26d64d8..54d635f 100644
--- a/traffic_ops/client/delivery_service_resources.go
+++ b/traffic_ops/client/delivery_service_resources.go
@@ -100,7 +100,7 @@ type DeliveryService struct {
// DeliveryServiceMatch ...
type DeliveryServiceMatch struct {
Type string `json:"type"`
- SetNumber string `json:"setNumber"`
+ SetNumber int `json:"setNumber"`
Pattern string `json:"pattern"`
}