Commit f9c14aee authored by Ryan Uber's avatar Ryan Uber

post-processor/atlas: fix index out of range panic when artifacts are present

parent e3c2f01c
......@@ -178,7 +178,7 @@ func (p *PostProcessor) PostProcess(ui packer.Ui, artifact packer.Artifact) (pac
// Modify the archive options to only include the files
// that are in our file list.
include := make([]string, 0, len(fs))
include := make([]string, len(fs))
for i, f := range fs {
include[i] = strings.Replace(f, path, "", 1)
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment