diff options
| author | Chris Lu <chris.lu@gmail.com> | 2019-02-09 21:56:32 -0800 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2019-02-09 21:56:32 -0800 |
| commit | 4ff4a147b258bb7787e492a74254f3993bb69d1a (patch) | |
| tree | 304dd8cba4ce415b7a9312f90760c8d086793b77 /weed/command/filer.go | |
| parent | 501bd72b1c9a88cadb5182cf9c13c2d796cf775f (diff) | |
| download | seaweedfs-4ff4a147b258bb7787e492a74254f3993bb69d1a.tar.xz seaweedfs-4ff4a147b258bb7787e492a74254f3993bb69d1a.zip | |
cleanup security.Secret
Diffstat (limited to 'weed/command/filer.go')
| -rw-r--r-- | weed/command/filer.go | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/weed/command/filer.go b/weed/command/filer.go index f5fa6d50f..a07a67471 100644 --- a/weed/command/filer.go +++ b/weed/command/filer.go @@ -28,7 +28,6 @@ type FilerOptions struct { redirectOnRead *bool disableDirListing *bool maxMB *int - secretKey *string dirListingLimit *int dataCenter *string enableNotification *bool @@ -49,7 +48,6 @@ func init() { f.redirectOnRead = cmdFiler.Flag.Bool("redirectOnRead", false, "whether proxy or redirect to volume server during file GET request") f.disableDirListing = cmdFiler.Flag.Bool("disableDirListing", false, "turn off directory listing") f.maxMB = cmdFiler.Flag.Int("maxMB", 32, "split files larger than the limit") - f.secretKey = cmdFiler.Flag.String("secure.secret", "", "secret to encrypt Json Web Token(JWT)") f.dirListingLimit = cmdFiler.Flag.Int("dirListLimit", 100000, "limit sub dir listing size") f.dataCenter = cmdFiler.Flag.String("dataCenter", "", "prefer to write to volumes in this data center") } @@ -103,7 +101,6 @@ func (fo *FilerOptions) startFiler() { RedirectOnRead: *fo.redirectOnRead, DisableDirListing: *fo.disableDirListing, MaxMB: *fo.maxMB, - SecretKey: *fo.secretKey, DirListingLimit: *fo.dirListingLimit, DataCenter: *fo.dataCenter, DefaultLevelDbDir: defaultLevelDbDirectory, |
