Skip to content

Commit

Permalink
remove dep to packer
Browse files Browse the repository at this point in the history
  • Loading branch information
azr committed Sep 2, 2021
1 parent 98964dd commit 5afae6a
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 257 deletions.
4 changes: 2 additions & 2 deletions builder/scaleway/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"log"
"os"

"github.com/hashicorp/packer-plugin-scaleway/builder/scaleway/version"
"github.com/hashicorp/packer-plugin-scaleway/version"
"github.com/hashicorp/packer-plugin-sdk/common"
"github.com/hashicorp/packer-plugin-sdk/communicator"
packersdk "github.com/hashicorp/packer-plugin-sdk/packer"
Expand Down Expand Up @@ -124,7 +124,7 @@ func (c *Config) Prepare(raws ...interface{}) ([]string, error) {

var warnings []string

c.UserAgent = useragent.String(version.ScalewayPluginVersion.FormattedVersion())
c.UserAgent = useragent.String(version.PluginVersion.FormattedVersion())

configFile, err := scw.LoadConfig()
// If the config file do not exist, don't return an error as we may find config in ENV or flags.
Expand Down
13 changes: 0 additions & 13 deletions builder/scaleway/version/version.go

This file was deleted.

1 change: 0 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ go 1.17
require (
github.com/hashicorp/go-uuid v1.0.2
github.com/hashicorp/hcl/v2 v2.10.0
github.com/hashicorp/packer v1.7.2
github.com/hashicorp/packer-plugin-sdk v0.2.3
github.com/mitchellh/mapstructure v1.4.0
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.7
Expand Down
Loading

0 comments on commit 5afae6a

Please sign in to comment.