diff --git a/builder/jdcloud/credential_config.go b/builder/jdcloud/credential_config.go index e7c12baf8..28768b8e7 100644 --- a/builder/jdcloud/credential_config.go +++ b/builder/jdcloud/credential_config.go @@ -2,11 +2,12 @@ package jdcloud import ( "fmt" + "os" + "github.com/hashicorp/packer/template/interpolate" "github.com/jdcloud-api/jdcloud-sdk-go/core" vm "github.com/jdcloud-api/jdcloud-sdk-go/services/vm/client" vpc "github.com/jdcloud-api/jdcloud-sdk-go/services/vpc/client" - "os" ) type JDCloudCredentialConfig struct { diff --git a/builder/jdcloud/instance_config.go b/builder/jdcloud/instance_config.go index 93f6a6115..c63ae046b 100644 --- a/builder/jdcloud/instance_config.go +++ b/builder/jdcloud/instance_config.go @@ -2,6 +2,7 @@ package jdcloud import ( "fmt" + "github.com/hashicorp/packer/helper/communicator" "github.com/hashicorp/packer/template/interpolate" ) diff --git a/builder/ucloud/uhost/access_config.go b/builder/ucloud/uhost/access_config.go index 2cdccc6a5..389d74578 100644 --- a/builder/ucloud/uhost/access_config.go +++ b/builder/ucloud/uhost/access_config.go @@ -2,6 +2,8 @@ package uhost import ( "fmt" + "os" + "github.com/hashicorp/packer/template/interpolate" "github.com/hashicorp/packer/version" "github.com/ucloud/ucloud-sdk-go/services/uaccount" @@ -10,7 +12,6 @@ import ( "github.com/ucloud/ucloud-sdk-go/services/vpc" "github.com/ucloud/ucloud-sdk-go/ucloud" "github.com/ucloud/ucloud-sdk-go/ucloud/auth" - "os" ) type AccessConfig struct {