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


##########
traffic_ops/traffic_ops_golang/invalidationjobs/invalidationjobs.go:
##########
@@ -1455,7 +1455,7 @@ func validateJobCreateV4(job tc.InvalidationJobCreateV4, 
tx *sql.Tx) error {
        }
 
        if job.InvalidationType == tc.REFETCH && !refetchAllowed(tx) {
-               errs = append(errs, "InvalidationType is invalid")
+               errs = append(errs, "invalidationType is not allowed since 
'refetch_enabled' parameter doesn't exists or the value is not set to a 
case-sensitive 'true'")

Review Comment:
   it's actually case-<em>**in**</em>sensitive



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