ocket8888 commented on code in PR #7806:
URL: https://github.com/apache/trafficcontrol/pull/7806#discussion_r1327687168


##########
infrastructure/cdn-in-a-box/enroller/enroller.go:
##########
@@ -842,13 +847,8 @@ func enrollFederation(toSession *session, r io.Reader) 
error {
                                return err
                        }
                        cdnFederation = resp.Response
-                       if cdnFederation.ID == nil {
-                               err = fmt.Errorf("federation returned from 
creation through Traffic Ops with null or undefined ID")
-                               log.Infoln(err)
-                               return err
-                       }

Review Comment:
   Federation IDs cannot be nil, so not removing that check would result in a 
compilation error



-- 
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.

To unsubscribe, e-mail: [email protected]

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

Reply via email to