You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by ra...@apache.org on 2019/01/31 17:54:13 UTC

[trafficcontrol] branch master updated: Fix lib/go-tc malformed struct tag (#3290)

This is an automated email from the ASF dual-hosted git repository.

rawlin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficcontrol.git


The following commit(s) were added to refs/heads/master by this push:
     new fb1d304  Fix lib/go-tc malformed struct tag (#3290)
fb1d304 is described below

commit fb1d3049d2c20790544d72c947be31d001735d22
Author: Robert Butts <ro...@users.noreply.github.com>
AuthorDate: Thu Jan 31 10:54:08 2019 -0700

    Fix lib/go-tc malformed struct tag (#3290)
---
 lib/go-tc/cachegroups.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/go-tc/cachegroups.go b/lib/go-tc/cachegroups.go
index 669b5ef..3b3012d 100644
--- a/lib/go-tc/cachegroups.go
+++ b/lib/go-tc/cachegroups.go
@@ -62,7 +62,7 @@ type CacheGroupNullable struct {
 	Name                        *string               `json:"name" db:"name"`
 	ShortName                   *string               `json:"shortName" db:"short_name"`
 	Latitude                    *float64              `json:"latitude" db:"latitude"`
-	Longitude                   *float64              `json:"longitude"db:"longitude"`
+	Longitude                   *float64              `json:"longitude" db:"longitude"`
 	ParentName                  *string               `json:"parentCachegroupName" db:"parent_cachegroup_name"`
 	ParentCachegroupID          *int                  `json:"parentCachegroupId" db:"parent_cachegroup_id"`
 	SecondaryParentName         *string               `json:"secondaryParentCachegroupName" db:"secondary_parent_cachegroup_name"`