Skip to content

Commit

Permalink
fix: Fix spelling of RenderJSONithMetadata as `RenderJSONWithMetada…
Browse files Browse the repository at this point in the history
…ta` (#3579)
  • Loading branch information
yhakbar authored Nov 19, 2024
1 parent f23a6b6 commit e8f09ca
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cli/commands/render-json/action.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ func runRenderJSON(ctx context.Context, opts *options.TerragruntOptions, cfg *co

var terragruntConfigCty cty.Value

if opts.RenderJSONithMetadata {
if opts.RenderJSONWithMetadata {
cty, err := config.TerragruntConfigAsCtyWithMetadata(cfg)
if err != nil {
return err
Expand Down
2 changes: 1 addition & 1 deletion cli/commands/render-json/command.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ func NewFlags(opts *options.TerragruntOptions) cli.Flags {
},
&cli.BoolFlag{
Name: FlagNameWithMetadata,
Destination: &opts.RenderJSONithMetadata,
Destination: &opts.RenderJSONWithMetadata,
Usage: "Add metadata to the rendered JSON file.",
},
&cli.BoolFlag{
Expand Down
2 changes: 1 addition & 1 deletion options/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ type TerragruntOptions struct {
UsePartialParseConfigCache bool

// Include fields metadata in render-json
RenderJSONithMetadata bool
RenderJSONWithMetadata bool

// Disable TF output formatting
ForwardTFStdout bool
Expand Down

0 comments on commit e8f09ca

Please sign in to comment.