ocket8888 commented on a change in pull request #5498:
URL: https://github.com/apache/trafficcontrol/pull/5498#discussion_r570480624



##########
File path: infrastructure/cdn-in-a-box/enroller/enroller.go
##########
@@ -33,7 +33,7 @@ import (
 
        log "github.com/apache/trafficcontrol/lib/go-log"
        tc "github.com/apache/trafficcontrol/lib/go-tc"
-       "github.com/apache/trafficcontrol/traffic_ops/client"
+       "github.com/apache/trafficcontrol/traffic_ops/v4-client"

Review comment:
       I believe this line is causing the build failure:
   ```
   2021-02-04T18:51:49.1234730Z #16 17.29 ./enroller.go:680:29: 
toSession.CreateServerWithHdr undefined (type *session has no field or method 
CreateServerWithHdr)
   ```
   The fix would be to link the enroller against the "stable" API client - v3 - 
or to update references to `CreateServerWithHdr` to simply `CreateServer` (as 
there is no version in v4 that doesn't use a header).




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to