Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Packer-builder-softlayer is not working with newer versions #36

Open
srikgali opened this issue Mar 7, 2018 · 0 comments
Open

Packer-builder-softlayer is not working with newer versions #36

srikgali opened this issue Mar 7, 2018 · 0 comments

Comments

@srikgali
Copy link

srikgali commented Mar 7, 2018

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant