post-processor/compress: style

This commit is contained in:
Mitchell Hashimoto 2014-09-08 10:28:16 -07:00
parent b5f9528738
commit b2255751a1
3 changed files with 5 additions and 3 deletions

View File

@ -8,6 +8,7 @@ BACKWARDS INCOMPATIBILITIES:
FEATURES:
* **New Post-Processor: `compress`** - Gzip compresses artifacts with files.
* **New Post-Processor: `docker-save`** - Save an image. This is similar to
export, but preserves the image hierarchy.
* **New Post-Processor: `docker-tag`** - Tag a created image.

View File

@ -5,7 +5,7 @@ import (
"os"
)
const BuilderId = "johnbellone.compress"
const BuilderId = "packer.post-processor.compress"
type Artifact struct {
Path string

View File

@ -4,10 +4,11 @@ import (
"archive/tar"
"compress/gzip"
"fmt"
"github.com/mitchellh/packer/common"
"github.com/mitchellh/packer/packer"
"io"
"os"
"github.com/mitchellh/packer/common"
"github.com/mitchellh/packer/packer"
)
type Config struct {