Skip to content

Commit

Permalink
feat(go.mod): bump gowebdav version
Browse files Browse the repository at this point in the history
Signed-off-by: jkoberg <jkoberg@owncloud.com>
  • Loading branch information
kobergj committed Dec 23, 2024
1 parent 0406846 commit 9143227
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ require (
gopkg.in/yaml.v3 v3.0.1 // indirect
)

replace github.com/studio-b12/gowebdav => github.com/kobergj/gowebdav v0.0.0-20241212102826-849dbbfbe392
replace github.com/studio-b12/gowebdav => github.com/kobergj/gowebdav v0.0.0-20241223142249-060874be3bb2

// exclude the v2 line of go-sqlite3 which was released accidentally and prevents pulling in newer versions of go-sqlite3
// see https://github.com/mattn/go-sqlite3/issues/965 for more details
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -492,8 +492,8 @@ github.com/klauspost/compress v1.17.11/go.mod h1:pMDklpSncoRMuLFrf1W9Ss9KT+0rH90
github.com/klauspost/cpuid/v2 v2.0.1/go.mod h1:FInQzS24/EEf25PyTYn52gqo7WaD8xa0213Md/qVLRg=
github.com/klauspost/cpuid/v2 v2.2.8 h1:+StwCXwm9PdpiEkPyzBXIy+M9KUb4ODm0Zarf1kS5BM=
github.com/klauspost/cpuid/v2 v2.2.8/go.mod h1:Lcz8mBdAVJIBVzewtcLocK12l3Y+JytZYpaMropDUws=
github.com/kobergj/gowebdav v0.0.0-20241212102826-849dbbfbe392 h1:pdybugon6i4+YFQoF8m9vcBZBOczUksbjo4YgbSqc0E=
github.com/kobergj/gowebdav v0.0.0-20241212102826-849dbbfbe392/go.mod h1:bHA7t77X/QFExdeAnDzK6vKM34kEZAcE1OX4MfiwjkE=
github.com/kobergj/gowebdav v0.0.0-20241223142249-060874be3bb2 h1:jtEsQsh9Wpo622GUZwMmcV3fR4nw1PZWhob4z530nz0=
github.com/kobergj/gowebdav v0.0.0-20241223142249-060874be3bb2/go.mod h1:bHA7t77X/QFExdeAnDzK6vKM34kEZAcE1OX4MfiwjkE=
github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ=
github.com/konsorten/go-windows-terminal-sequences v1.0.3/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ=
github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod h1:+0opPa2QZZtGFBFZlji/RkVcI2GknAs/DXo4wKdlNEc=
Expand Down
2 changes: 1 addition & 1 deletion pkg/sdk/common/net/webdav.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ func (webdav *WebDAVClient) Read(file string) ([]byte, error) {
func (webdav *WebDAVClient) Write(file string, data io.Reader, size int64) error {
webdav.client.SetHeader("Upload-Length", strconv.FormatInt(size, 10))

if err := webdav.client.WriteStream(file, data, 0700); err != nil {
if err := webdav.client.WriteStream(file, data, 0700, ""); err != nil {
return fmt.Errorf("unable to write the data: %v", err)
}

Expand Down

0 comments on commit 9143227

Please sign in to comment.