Skip to content

Commit

Permalink
Fixed error message.
Browse files Browse the repository at this point in the history
  • Loading branch information
rimashah25 committed May 23, 2023
1 parent 50e82dc commit 4e6eeef
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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 not allowed since 'refetch_enabled' parameter doesn't exists or the value is not set to a case-sensitive 'true'")
errs = append(errs, "invalidationType is not allowed since 'refetch_enabled' parameter doesn't exists or the value is not set to a case-insensitive 'true'")
}

if len(errs) > 0 {
Expand Down

0 comments on commit 4e6eeef

Please sign in to comment.