rob05c closed pull request #2528: Fix compiler error when building grovetccfg

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") {
createRules skipping deliveryservice %v - unknown type %v", ds.XMLID, ds.Type)


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:

With regards,
Apache Git Services

Reply via email to