mirror of
https://github.com/hashicorp/packer.git
synced 2026-06-13 18:50:11 -04:00
Removed input_type and description since these are not particularly useful
This commit is contained in:
parent
3c6ca7cbde
commit
78070f8ca9
2 changed files with 0 additions and 4 deletions
|
|
@ -7,9 +7,7 @@ const BuilderId = "packer.post-processor.manifest"
|
|||
type Artifact struct {
|
||||
BuildName string `json:"name"`
|
||||
BuilderType string `json:"builder_type"`
|
||||
InputType string `json:"input_type"`
|
||||
BuildTime int64 `json:"build_time"`
|
||||
Description string `json:"description"`
|
||||
ArtifactFiles []string `json:"files"`
|
||||
ArtifactId string `json:"artifact_id"`
|
||||
}
|
||||
|
|
|
|||
|
|
@ -54,11 +54,9 @@ func (p *PostProcessor) PostProcess(ui packer.Ui, source packer.Artifact) (packe
|
|||
// Create the current artifact.
|
||||
artifact.ArtifactFiles = source.Files()
|
||||
artifact.ArtifactId = source.Id()
|
||||
artifact.InputType = source.BuilderId()
|
||||
artifact.BuilderType = p.config.PackerBuilderType
|
||||
artifact.BuildName = p.config.PackerBuildName
|
||||
artifact.BuildTime = time.Now().Unix()
|
||||
artifact.Description = source.String()
|
||||
|
||||
// Create a lock file with exclusive access. If this fails we will retry
|
||||
// after a delay
|
||||
|
|
|
|||
Loading…
Reference in a new issue