Merge pull request #1832 from mtrmac/non-Linux

Fix compilation on non-Linux
This commit is contained in:
openshift-merge-bot[bot] 2024-02-15 00:21:16 +00:00 committed by GitHub
commit 8a099ece35
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -17,5 +17,5 @@ func EnableVerity(description string, fd int) error {
// MeasureVerity measures and returns the verity digest for the file represented by 'fd'. // MeasureVerity measures and returns the verity digest for the file represented by 'fd'.
// The 'description' parameter is a human-readable description of the file. // The 'description' parameter is a human-readable description of the file.
func MeasureVerity(description string, fd int) (string, error) { func MeasureVerity(description string, fd int) (string, error) {
return fmt.Errorf("fs-verity is not supported on this platform") return "", fmt.Errorf("fs-verity is not supported on this platform")
} }