Skip to content

Commit

Permalink
Fetch lakeFS envariables in nessie auth config
Browse files Browse the repository at this point in the history
  • Loading branch information
arielshaqed committed Nov 15, 2020
1 parent 4ebed6c commit 25b500e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nessie/auth_test.go
Expand Up @@ -27,6 +27,7 @@ func TestSuperuserWithPassedCreds(t *testing.T) {
dbParams := cfg.GetDatabaseParams()
pool := db.BuildDatabaseConnection(dbParams)

viper.SetEnvPrefix("LAKEFS") // Fetch lakeFS envariables in config
authService := auth.NewDBAuthService(
pool,
crypt.NewSecretStore(cfg.GetAuthEncryptionSecret()),
Expand Down

0 comments on commit 25b500e

Please sign in to comment.