fmt
This commit is contained in:
parent
7c11d2a313
commit
752162c234
|
@ -1,8 +1,8 @@
|
||||||
package chroot
|
package chroot
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"testing"
|
|
||||||
"github.com/mitchellh/goamz/ec2"
|
"github.com/mitchellh/goamz/ec2"
|
||||||
|
"testing"
|
||||||
)
|
)
|
||||||
|
|
||||||
func testImage() ec2.Image {
|
func testImage() ec2.Image {
|
||||||
|
|
|
@ -16,7 +16,7 @@ type StepCreateInstance struct {
|
||||||
instanceName string
|
instanceName string
|
||||||
}
|
}
|
||||||
|
|
||||||
func (config *Config) getImage() (Image) {
|
func (config *Config) getImage() Image {
|
||||||
project := config.ProjectId
|
project := config.ProjectId
|
||||||
if config.SourceImageProjectId != "" {
|
if config.SourceImageProjectId != "" {
|
||||||
project = config.SourceImageProjectId
|
project = config.SourceImageProjectId
|
||||||
|
|
Loading…
Reference in New Issue