Skip to content

Commit

Permalink
fix(cargo): fix the "bake_configurations" field "embed_paths"
Browse files Browse the repository at this point in the history
the config field should match that this is not adding dirs but files
  • Loading branch information
crhntr committed Mar 6, 2024
1 parent d7c9249 commit cd63543
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ These are the mappings from bake flag to each field in a bake_configurations ele
| `"properties_directories"` | `--properties-directory=` | This may be a list of directories. |
| `"runtime_configurations_directories"` | `--runtime-configs-directory=` | This may be a list of directories. |
| `"bosh_variables_directories"` | `--bosh-variables-directory=` | This may be a list of directories. |
| `"embed_paths_directories"` | `--embed=` | This may be a list of directories. |
| `"embed_files"` | `--embed=` | This may be a list of filepaths. |
| `"variable_files"` | `--variables-file=` | This may be a list of filepaths. |

### The Lock File [(source)](https://pkg.go.dev/github.com/pivotal-cf/kiln/pkg/cargo#Kilnfile)
Expand Down
2 changes: 1 addition & 1 deletion pkg/cargo/kilnfile.go
Original file line number Diff line number Diff line change
Expand Up @@ -368,6 +368,6 @@ type BakeConfiguration struct {
PropertyDirectories []string `yaml:"properties_directories,omitempty" json:"properties_directories,omitempty"`
RuntimeConfigDirectories []string `yaml:"runtime_configurations_directories,omitempty" json:"runtime_configurations_directories,omitempty"`
BOSHVariableDirectories []string `yaml:"bosh_variables_directories,omitempty" json:"bosh_variables_directories,omitempty"`
EmbedPaths []string `yaml:"embed_paths_directories,omitempty" json:"embed_paths_directories,omitempty"`
EmbedPaths []string `yaml:"embed_paths,omitempty" json:"embed_paths,omitempty"`
VariableFiles []string `yaml:"variable_files,omitempty" json:"variable_files,omitempty"`
}

0 comments on commit cd63543

Please sign in to comment.