Skip to content

Commit

Permalink
fix packer dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
SwampDragons committed Apr 20, 2021
1 parent d5adf43 commit 2836a94
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 221 deletions.
4 changes: 2 additions & 2 deletions builder/linode/linode.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"net/http"

"github.com/hashicorp/packer/builder/linode/version"
"github.com/hashicorp/packer-plugin-linode/version"
"github.com/linode/linodego"
"golang.org/x/oauth2"
)
Expand All @@ -23,7 +23,7 @@ func newLinodeClient(pat string) linodego.Client {

projectURL := "https://www.packer.io"
userAgent := fmt.Sprintf("Packer/%s (+%s) linodego/%s",
version.LinodePluginVersion.FormattedVersion(), projectURL, linodego.Version)
version.PluginVersion.FormattedVersion(), projectURL, linodego.Version)

client.SetUserAgent(userAgent)
return client
Expand Down
3 changes: 2 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@ module github.com/hashicorp/packer-plugin-linode
go 1.16

require (
github.com/go-resty/resty/v2 v2.3.0 // indirect
github.com/hashicorp/hcl/v2 v2.9.1
github.com/hashicorp/packer v1.7.2
github.com/hashicorp/packer-plugin-sdk v0.2.0
github.com/json-iterator/go v1.1.10 // indirect
github.com/linode/linodego v1.0.0
github.com/zclconf/go-cty v1.8.1
golang.org/x/crypto v0.0.0-20201221181555-eec23a3978ad
Expand Down
Loading

0 comments on commit 2836a94

Please sign in to comment.