zero: fix bootstrap config path (#5035)

This commit is contained in:
Denis Mishin 2024-03-21 20:39:52 -04:00 committed by GitHub
parent 4193583301
commit d20e99ca8c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 36 additions and 33 deletions

View file

@ -11,7 +11,7 @@ import (
func TestConfigDeterministic(t *testing.T) {
secret := []byte("secret")
src, err := bootstrap.New(secret)
src, err := bootstrap.New(secret, nil, nil)
require.NoError(t, err)
cfg := src.GetConfig()
require.NotNil(t, cfg)
@ -20,7 +20,7 @@ func TestConfigDeterministic(t *testing.T) {
require.NoError(t, cfg.Options.Validate())
// test that the config is deterministic
src2, err := bootstrap.New(secret)
src2, err := bootstrap.New(secret, nil, nil)
require.NoError(t, err)
cfg2 := src2.GetConfig()