diff options
author | Ben Burwell <ben@benburwell.com> | 2020-04-13 23:57:13 -0400 |
---|---|---|
committer | Ben Burwell <ben@benburwell.com> | 2020-04-13 23:57:13 -0400 |
commit | 2ce3b86e0ff69538935db3149d1ed2f24aea09a3 (patch) | |
tree | 1c0329a5c1191690e57e7160bd3150c9a2851866 /cmd/cashierd | |
parent | 8b1ee3e95010681d98d1b31af98f0ce0832cedd2 (diff) |
Simplify
Diffstat (limited to 'cmd/cashierd')
-rw-r--r-- | cmd/cashierd/main.go | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/cmd/cashierd/main.go b/cmd/cashierd/main.go index b4f1fe7..5690d7c 100644 --- a/cmd/cashierd/main.go +++ b/cmd/cashierd/main.go @@ -9,8 +9,6 @@ import ( "github.com/nsheridan/cashier/lib" "github.com/nsheridan/cashier/server" "github.com/nsheridan/cashier/server/config" - "github.com/nsheridan/cashier/server/wkfs/vaultfs" - "github.com/nsheridan/wkfs/s3" ) var ( @@ -28,18 +26,5 @@ func main() { if err != nil { log.Fatal(err) } - - // Register well-known filesystems. - if conf.AWS == nil { - conf.AWS = &config.AWS{} - } - s3.Register(&s3.Options{ - Region: conf.AWS.Region, - AccessKey: conf.AWS.AccessKey, - SecretKey: conf.AWS.SecretKey, - }) - vaultfs.Register(conf.Vault) - - // Start the server server.Run(conf) } |