Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add levels for handling spec validation via flag.
Replaces the flag "unsafe-skip-restore-spec-validation" with "restore-spec-validation" which allows the user to set the level of restore spec validation such as ignore, warning or enforce. This allows user to skip validation if required. By default, the flag will be set to "enforce" which will perform spec validation. This is a breaking change for users who have enabled --unsafe-skip-restore-spec-validation flag. We advise these users to use the new flag introduced in this change: --restore-spec-validation and set it to "warning" or "ignore". This setting (--restore-spec-validation=warning) gives the same behavior as when the old flag was enabled. PiperOrigin-RevId: 719045616
- Loading branch information