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 fd7bfc13d8d005b38c731ee0301a0eea3bcdaade
Author: Dewayne Richardson <dewr...@apache.org>
AuthorDate: Wed Mar 7 12:19:27 2018 -0700

    added id to the db json structs
---
 lib/go-tc/types.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/go-tc/types.go b/lib/go-tc/types.go
index eaf889e..d8887fc 100644
--- a/lib/go-tc/types.go
+++ b/lib/go-tc/types.go
@@ -35,7 +35,7 @@ type Type struct {
 
 // TypeNullable contains information about a given Type in Traffic Ops.
 type TypeNullable struct {
-       ID          *int       `json:"id"`
+       ID          *int       `json:"id" db:"id"`
        LastUpdated *TimeNoMod `json:"lastUpdated" db:"last_updated"`
        Name        *string    `json:"name" db:"name"`
        Description *string    `json:"description" db:"description"`

-- 
To stop receiving notification emails like this one, please contact
dang...@apache.org.

Reply via email to