test(systemtests): fix export v2 (#22799)
This commit is contained in:
@@ -78,9 +78,7 @@ func (s *Server[T]) Config() any {
|
||||
// An empty home directory *is* permitted at this stage, but attempting to build
|
||||
// the store with an empty home directory will fail.
|
||||
func UnmarshalConfig(cfg map[string]any) (*root.Config, error) {
|
||||
config := &root.Config{
|
||||
Options: root.DefaultStoreOptions(),
|
||||
}
|
||||
config := root.DefaultConfig()
|
||||
if err := serverv2.UnmarshalSubConfig(cfg, ServerName, config); err != nil {
|
||||
return nil, fmt.Errorf("failed to unmarshal store config: %w", err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user