enable audit service on satellite (#803)
This commit is contained in:
parent
c025c13706
commit
72a7726513
@ -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"
|
||||||
@ -68,8 +69,7 @@ var (
|
|||||||
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,
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user