You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by da...@apache.org on 2018/02/22 18:26:15 UTC

[incubator-trafficcontrol] 07/08: fixed GetID() interface change

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 9d545471966cec24209d2a503616f04554e66992
Author: Dewayne Richardson <de...@apache.org>
AuthorDate: Wed Feb 21 12:43:17 2018 -0700

    fixed GetID() interface change
---
 traffic_ops/traffic_ops_golang/status/statuses.go | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/traffic_ops/traffic_ops_golang/status/statuses.go b/traffic_ops/traffic_ops_golang/status/statuses.go
index 8aca45c..3a54ec7 100644
--- a/traffic_ops/traffic_ops_golang/status/statuses.go
+++ b/traffic_ops/traffic_ops_golang/status/statuses.go
@@ -43,8 +43,8 @@ func GetRefType() *TOStatus {
 }
 
 //Implementation of the Identifier, Validator interface functions
-func (status *TOStatus) GetID() int {
-	return status.ID
+func (status *TOStatus) GetID() (int, bool) {
+	return status.ID, true
 }
 
 func (status *TOStatus) GetAuditName() string {

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