Skip to content

Commit

Permalink
Merge pull request #908 from debasishbsws/show-config_fix
Browse files Browse the repository at this point in the history
Bug Fix: calling the function in `show-config` cmd
  • Loading branch information
Elizafox authored Oct 26, 2023
2 parents badc1fb + 2bea2b1 commit 67a4e34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/cli/show-config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

Expand Down

0 comments on commit 67a4e34

Please sign in to comment.