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

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

commit 7583e2acbb42cd57a22ab01ebd4a3efe92dee591
Author: Dan Kirkwood <dang...@apache.org>
AuthorDate: Thu Feb 1 22:29:37 2018 -0700

    adjust default
---
 lib/go-tc/enum.go | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/go-tc/enum.go b/lib/go-tc/enum.go
index bcfa09a..04d2363 100644
--- a/lib/go-tc/enum.go
+++ b/lib/go-tc/enum.go
@@ -189,8 +189,8 @@ func CacheStatusFromString(s string) CacheStatus {
 type DeepCachingType string
 
 const (
+       DeepCachingTypeNever   = DeepCachingType("") // default value
        DeepCachingTypeAlways  = DeepCachingType("ALWAYS")
-       DeepCachingTypeNever   = DeepCachingType("NEVER")
        DeepCachingTypeInvalid = DeepCachingType("INVALID")
 )
 
@@ -200,7 +200,7 @@ func (t DeepCachingType) String() string {
        case DeepCachingTypeAlways:
                return string(t)
        case DeepCachingTypeNever:
-               return string(t)
+               return "NEVER"
        default:
                return "INVALID"
        }

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

Reply via email to