enable audit service on satellite (#803)

This commit is contained in:
Maximillian von Briesen 2018-12-07 13:52:58 -05:00 committed by GitHub
parent c025c13706
commit 72a7726513
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,6 +16,7 @@ import (
"github.com/zeebo/errs" "github.com/zeebo/errs"
"storj.io/storj/internal/fpath" "storj.io/storj/internal/fpath"
"storj.io/storj/pkg/audit"
"storj.io/storj/pkg/auth/grpcauth" "storj.io/storj/pkg/auth/grpcauth"
"storj.io/storj/pkg/bwagreement" "storj.io/storj/pkg/bwagreement"
"storj.io/storj/pkg/cfgstruct" "storj.io/storj/pkg/cfgstruct"
@ -61,15 +62,14 @@ var (
} }
runCfg struct { runCfg struct {
Identity provider.IdentityConfig Identity provider.IdentityConfig
Kademlia kademlia.Config Kademlia kademlia.Config
PointerDB pointerdb.Config PointerDB pointerdb.Config
Overlay overlay.Config Overlay overlay.Config
StatDB statdb.Config StatDB statdb.Config
Checker checker.Config Checker checker.Config
Repairer repairer.Config Repairer repairer.Config
Audit audit.Config
// Audit audit.Config
BwAgreement bwagreement.Config BwAgreement bwagreement.Config
Database string `help:"satellite database connection string" default:"sqlite3://$CONFDIR/master.db"` Database string `help:"satellite database connection string" default:"sqlite3://$CONFDIR/master.db"`
} }
@ -127,7 +127,7 @@ func cmdRun(cmd *cobra.Command, args []string) (err error) {
runCfg.Overlay, runCfg.Overlay,
runCfg.Checker, runCfg.Checker,
runCfg.Repairer, runCfg.Repairer,
// runCfg.Audit, runCfg.Audit,
runCfg.BwAgreement, runCfg.BwAgreement,
) )
} }