Skip to content

Commit

Permalink
Add conditional compilation for syscall because build breaks on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Deepankar Sharma committed Feb 24, 2023
1 parent a43132b commit fcee916
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions utils/platform_windows.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
package lxdapi

import (
"io/fs"
)

func GetUidGid(stat fs.FileInfo) (int64, int64, error) {
return 0, 0, nil
}

0 comments on commit fcee916

Please sign in to comment.