Skip to content

Commit

Permalink
fix windows build (#1987)
Browse files Browse the repository at this point in the history
  • Loading branch information
butonic authored Aug 12, 2021
1 parent ec4099d commit 04a1cf2
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions changelog/unreleased/fix-windows-build.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Bugfix: Fix windows build

Add the necessary `golang.org/x/sys/windows` package import to `owncloud` and `owncloudsql` storage drivers.

https://github.com/cs3org/reva/pull/1987
1 change: 1 addition & 0 deletions pkg/storage/fs/owncloud/owncloud_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ import (
"strings"

"github.com/cs3org/reva/pkg/appctx"
"golang.org/x/sys/windows"
)

// calcEtag will create an etag based on the md5 of
Expand Down
1 change: 1 addition & 0 deletions pkg/storage/fs/owncloudsql/owncloudsql_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ import (
"strings"

"github.com/cs3org/reva/pkg/appctx"
"golang.org/x/sys/windows"
)

// calcEtag will create an etag based on the md5 of
Expand Down

0 comments on commit 04a1cf2

Please sign in to comment.