aboutsummaryrefslogtreecommitdiff
path: root/weed/command
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2021-09-14 10:37:06 -0700
committerChris Lu <chris.lu@gmail.com>2021-09-14 10:37:06 -0700
commit2789d10342b89691898ae1da774842c5b1ad261d (patch)
tree9b9be0e84e7d546c48a139d98b56ec288e1fda7b /weed/command
parent119d5908dd52b159c275bad10007daaf62188df0 (diff)
downloadseaweedfs-2789d10342b89691898ae1da774842c5b1ad261d.tar.xz
seaweedfs-2789d10342b89691898ae1da774842c5b1ad261d.zip
go fmt
Diffstat (limited to 'weed/command')
-rw-r--r--weed/command/webdav.go20
1 files changed, 10 insertions, 10 deletions
diff --git a/weed/command/webdav.go b/weed/command/webdav.go
index a7062d8cd..bf4609d63 100644
--- a/weed/command/webdav.go
+++ b/weed/command/webdav.go
@@ -103,16 +103,16 @@ func (wo *WebDavOption) startWebDav() bool {
}
ws, webdavServer_err := weed_server.NewWebDavServer(&weed_server.WebDavOption{
- Filer: filerAddress,
- GrpcDialOption: grpcDialOption,
- Collection: *wo.collection,
- Replication: *wo.replication,
- DiskType: *wo.disk,
- Uid: uid,
- Gid: gid,
- Cipher: cipher,
- CacheDir: util.ResolvePath(*wo.cacheDir),
- CacheSizeMB: *wo.cacheSizeMB,
+ Filer: filerAddress,
+ GrpcDialOption: grpcDialOption,
+ Collection: *wo.collection,
+ Replication: *wo.replication,
+ DiskType: *wo.disk,
+ Uid: uid,
+ Gid: gid,
+ Cipher: cipher,
+ CacheDir: util.ResolvePath(*wo.cacheDir),
+ CacheSizeMB: *wo.cacheSizeMB,
})
if webdavServer_err != nil {
glog.Fatalf("WebDav Server startup error: %v", webdavServer_err)