From cc9fc2150e19522857511cd50c1b2009b177aa0c Mon Sep 17 00:00:00 2001 From: WithoutPants <53250216+WithoutPants@users.noreply.github.com> Date: Tue, 6 Sep 2022 14:14:59 +1000 Subject: [PATCH] Fix scan settings not persisting (#2888) --- internal/api/resolver_mutation_configure.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/api/resolver_mutation_configure.go b/internal/api/resolver_mutation_configure.go index 189323f9a..f1e35239d 100644 --- a/internal/api/resolver_mutation_configure.go +++ b/internal/api/resolver_mutation_configure.go @@ -455,7 +455,7 @@ func (r *mutationResolver) ConfigureDefaults(ctx context.Context, input ConfigDe } if input.Scan != nil { - c.Set(config.DefaultScanSettings, input.Scan) + c.Set(config.DefaultScanSettings, input.Scan.ScanMetadataOptions) } if input.AutoTag != nil {