Skip to content

Commit

Permalink
Fix compilation on non-Linux
Browse files Browse the repository at this point in the history
Signed-off-by: Miloslav Trmač <[email protected]>
  • Loading branch information
mtrmac committed Feb 14, 2024
1 parent 26f4312 commit 1e3518a
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 1e3518a

Please sign in to comment.