Skip to content

Commit

Permalink
add compact param to config
Browse files Browse the repository at this point in the history
  • Loading branch information
mschuchard committed Jan 8, 2025
1 parent 1e4f981 commit bc888d7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions provisioner/testinfra.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import (
// config data deserialized/unmarshalled from packer template/config
type Config struct {
Chdir string `mapstructure:"chdir" required:"false"`
Compact bool `mapstructure:"compact" required:"false"`
DestinationDir string `mapstructure:"destination_dir" required:"false"`
InstallCmd []string `mapstructure:"install_cmd" required:"false"`
Keyword string `mapstructure:"keyword" required:"false"`
Expand Down
2 changes: 2 additions & 0 deletions provisioner/testinfra.hcl2spec.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion provisioner/util_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
)

func TestProvisionerUploadFiles(test *testing.T) {
comm := new(packer.MockCommunicator)
comm := &packer.MockCommunicator{}

err := uploadFiles(comm, []string{"../.gitignore"}, "/dafdfsad")
if err != nil {
Expand Down

0 comments on commit bc888d7

Please sign in to comment.