From 04a1cf2ba52ac5ba84cb869f9a1672b362783897 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn=20Friedrich=20Dreyer?= Date: Thu, 12 Aug 2021 11:15:29 +0200 Subject: [PATCH] fix windows build (#1987) --- changelog/unreleased/fix-windows-build.md | 5 +++++ pkg/storage/fs/owncloud/owncloud_windows.go | 1 + pkg/storage/fs/owncloudsql/owncloudsql_windows.go | 1 + 3 files changed, 7 insertions(+) create mode 100644 changelog/unreleased/fix-windows-build.md diff --git a/changelog/unreleased/fix-windows-build.md b/changelog/unreleased/fix-windows-build.md new file mode 100644 index 0000000000..ed88dc8f1b --- /dev/null +++ b/changelog/unreleased/fix-windows-build.md @@ -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 \ No newline at end of file diff --git a/pkg/storage/fs/owncloud/owncloud_windows.go b/pkg/storage/fs/owncloud/owncloud_windows.go index b925d6a3ee..5002351480 100644 --- a/pkg/storage/fs/owncloud/owncloud_windows.go +++ b/pkg/storage/fs/owncloud/owncloud_windows.go @@ -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 diff --git a/pkg/storage/fs/owncloudsql/owncloudsql_windows.go b/pkg/storage/fs/owncloudsql/owncloudsql_windows.go index dc4dd873d5..7d2d07b46f 100644 --- a/pkg/storage/fs/owncloudsql/owncloudsql_windows.go +++ b/pkg/storage/fs/owncloudsql/owncloudsql_windows.go @@ -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