Removed input_type and description since these are not particularly useful

pull/3651/head
Chris Bednarski 10 years ago
parent 3c6ca7cbde
commit 78070f8ca9

@ -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…
Cancel
Save