Removed input_type and description since these are not particularly useful

This commit is contained in:
Chris Bednarski 2016-06-10 01:44:33 -07:00
parent 3c6ca7cbde
commit 78070f8ca9
2 changed files with 0 additions and 4 deletions

View file

@ -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"`
}

View file

@ -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