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/04/12 14:27:07 UTC
[incubator-trafficcontrol] 02/02: updated to use the tc.TimeNoMod
type
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/incubator-trafficcontrol.git
commit 58637c52cb85a40dca044c61b942563d3dd96d5b
Author: Dewayne Richardson <de...@apache.org>
AuthorDate: Tue Apr 10 12:58:27 2018 -0600
updated to use the tc.TimeNoMod type
---
lib/go-tc/v13/regions.go | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/lib/go-tc/v13/regions.go b/lib/go-tc/v13/regions.go
index 5449197..8b7cde3 100644
--- a/lib/go-tc/v13/regions.go
+++ b/lib/go-tc/v13/regions.go
@@ -1,5 +1,7 @@
package v13
+import tc "github.com/apache/incubator-trafficcontrol/lib/go-tc"
+
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
@@ -53,7 +55,9 @@ type Region struct {
//
ID int `json:"id" db:"id"`
- LastUpdated string `json:"lastUpdated" db:"last_updated"`
+ // LastUpdated
+ //
+ LastUpdated tc.TimeNoMod `json:"lastUpdated" db:"last_updated"`
// Region Name
//
--
To stop receiving notification emails like this one, please contact
mitchell852@apache.org.