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 2018/07/11 01:19:59 UTC
[trafficcontrol] 12/13: switched struct reference to use the
Nullable version
This is an automated email from the ASF dual-hosted git repository.
mitchell852 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficcontrol.git
commit 253022c9ec629d4ac868b55c4eaf00a03582b780
Author: Dewayne Richardson <de...@apache.org>
AuthorDate: Tue Jul 10 16:21:04 2018 -0600
switched struct reference to use the Nullable version
---
traffic_ops/traffic_ops_golang/staticdnsentry/staticdnsentry.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/traffic_ops/traffic_ops_golang/staticdnsentry/staticdnsentry.go b/traffic_ops/traffic_ops_golang/staticdnsentry/staticdnsentry.go
index 6ba3944..5f213b0 100644
--- a/traffic_ops/traffic_ops_golang/staticdnsentry/staticdnsentry.go
+++ b/traffic_ops/traffic_ops_golang/staticdnsentry/staticdnsentry.go
@@ -109,7 +109,7 @@ func (staticDNSEntry *TOStaticDNSEntry) Read(parameters map[string]string) ([]in
defer rows.Close()
staticDNSEntries := []interface{}{}
for rows.Next() {
- s := v13.StaticDNSEntry{}
+ s := v13.StaticDNSEntryNullable{}
if err = rows.StructScan(&s); err != nil {
log.Errorln("error parsing StaticDNSEntry rows: " + err.Error())
return nil, []error{tc.DBError}, tc.SystemError