Skip to content

Commit

Permalink
Merge pull request #1832 from mtrmac/non-Linux
Browse files Browse the repository at this point in the history
Fix compilation on non-Linux
  • Loading branch information
openshift-merge-bot[bot] authored Feb 15, 2024
2 parents 26f4312 + 1e3518a commit 8a099ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/fsverity/fsverity_unsupported.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ func EnableVerity(description string, fd int) error {
// MeasureVerity measures and returns the verity digest for the file represented by 'fd'.
// The 'description' parameter is a human-readable description of the file.
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")
}

0 comments on commit 8a099ec

Please sign in to comment.