-
Notifications
You must be signed in to change notification settings - Fork 32
Description
Packer-builder-softlayer is not working with newer versions,
I am getting below error when i run
[root@hostname packer-builder-softlayer]# go build -o /usr/local/packer/packer-builder-softlayer main.go
github.com/leonidlm/packer-builder-softlayer/builder/softlayer
builder/softlayer/builder.go:200:28: cannot use *communicator.StepConnect literal (type communicator.StepConnect) as type "github.com/hashicorp/multistep".Step in array or slice literal:
communicator.StepConnect does not implement "github.com/hashicorp/multistep".Step (wrong type for Cleanup method)
have Cleanup("github.com/hashicorp/packer/helper/multistep".StateBag)
want Cleanup("github.com/hashicorp/multistep".StateBag)
builder/softlayer/builder.go:202:8: cannot use commHost (type func("github.com/hashicorp/multistep".StateBag) (string, error)) as type func("github.com/hashicorp/packer/helper/multistep".StateBag) (string, error) in field value
builder/softlayer/builder.go:203:13: cannot use sshConfig (type func("github.com/hashicorp/multistep".StateBag) ("golang.org/x/crypto/ssh".ClientConfig, error)) as type func("github.com/hashicorp/packer/helper/multistep".StateBag) ("github.com/hashicorp/packer/vendor/golang.org/x/crypto/ssh".ClientConfig, error) in field value
builder/softlayer/builder.go:205:6: cannot use new(common.StepProvision) (type *common.StepProvision) as type "github.com/hashicorp/multistep".Step in array or slice literal:
*common.StepProvision does not implement "github.com/hashicorp/multistep".Step (wrong type for Cleanup method)
have Cleanup("github.com/hashicorp/packer/helper/multistep".StateBag)
want Cleanup("github.com/hashicorp/multistep".StateBag)
Any idea?