From 78070f8ca9eaeb26c233d9c267ca61e3f39ea5ff Mon Sep 17 00:00:00 2001 From: Chris Bednarski Date: Fri, 10 Jun 2016 01:44:33 -0700 Subject: [PATCH] Removed input_type and description since these are not particularly useful --- post-processor/manifest/artifact.go | 2 -- post-processor/manifest/post-processor.go | 2 -- 2 files changed, 4 deletions(-) diff --git a/post-processor/manifest/artifact.go b/post-processor/manifest/artifact.go index 9a68d0e7e..7e24ed0df 100644 --- a/post-processor/manifest/artifact.go +++ b/post-processor/manifest/artifact.go @@ -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"` } diff --git a/post-processor/manifest/post-processor.go b/post-processor/manifest/post-processor.go index 1ed894718..033899ab0 100644 --- a/post-processor/manifest/post-processor.go +++ b/post-processor/manifest/post-processor.go @@ -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