Skip to content

Commit

Permalink
Update changelog and go fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
fbreckle committed Nov 20, 2020
1 parent eadbe41 commit 7840831
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
## 0.0.9 (November 20, 2020)

* **New Data Source:** `netbox_interfaces` ([#9](https://github.com/e-breuninger/terraform-provider-netbox/pull/9) by [@jake2184](https://github.com/jake2184))

BUG FIXES

* provider: Honor Sub-Paths in netbox URL ([#15](https://github.com/e-breuninger/terraform-provider-netbox/pull/15) by [@kasimon](https://github.com/kasimon))

## 0.0.8 (November 19, 2020)

* **New Data Source:** `netbox_virtual_machines` ([#8](https://github.com/e-breuninger/terraform-provider-netbox/pull/8) by [@jake2184](https://github.com/jake2184))
2 changes: 1 addition & 1 deletion netbox/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ func (cfg *Config) Client() (interface{}, error) {
InsecureSkipVerify: cfg.AllowInsecureHttps,
}
client, _ := httptransport.TLSClient(clientOpts)
transport := httptransport.NewWithClient(parsedURL.Host, parsedURL.Path + netboxclient.DefaultBasePath, desiredRuntimeClientSchemes, client)
transport := httptransport.NewWithClient(parsedURL.Host, parsedURL.Path+netboxclient.DefaultBasePath, desiredRuntimeClientSchemes, client)
transport.DefaultAuthentication = httptransport.APIKeyAuth("Authorization", "header", fmt.Sprintf("Token %v", cfg.APIToken))
transport.SetLogger(log.StandardLogger())
netboxClient := netboxclient.New(transport, nil)
Expand Down

0 comments on commit 7840831

Please sign in to comment.