From 99f7897ef97089442ce6264812b6605aad2ac900 Mon Sep 17 00:00:00 2001 From: debasishbsws Date: Sun, 1 Oct 2023 18:48:52 +0530 Subject: [PATCH] call ImageConfiguration() Signed-off-by: debasishbsws --- internal/cli/show-config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/cli/show-config.go b/internal/cli/show-config.go index c186ebda6..7dfa948df 100644 --- a/internal/cli/show-config.go +++ b/internal/cli/show-config.go @@ -73,7 +73,7 @@ func ShowConfigCmd(ctx context.Context, opts ...build.Option) error { var buf bytes.Buffer enc := yaml.NewEncoder(&buf) - if err := enc.Encode(bc.ImageConfiguration); err != nil { + if err := enc.Encode(bc.ImageConfiguration()); err != nil { return fmt.Errorf("failed to encode YAML document: %w", err) }