rob05c closed pull request #2528: Fix compiler error when building grovetccfg
URL: https://github.com/apache/trafficcontrol/pull/2528
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/grove/grovetccfg/grovetccfg.go b/grove/grovetccfg/grovetccfg.go
index 7e6897ccd..7b102e746 100644
--- a/grove/grovetccfg/grovetccfg.go
+++ b/grove/grovetccfg/grovetccfg.go
@@ -752,7 +752,7 @@ func createRulesOld(
                        }
                }
 
-               dsType := strings.ToLower(ds.Type)
+               dsType := strings.ToLower(string(ds.Type))
                if !strings.HasPrefix(dsType, "http") && 
!strings.HasPrefix(dsType, "dns") {
                        fmt.Printf(time.Now().Format(time.RFC3339Nano)+" 
createRules skipping deliveryservice %v - unknown type %v", ds.XMLID, ds.Type)
                        continue


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to