Skip to content

Commit 79d7ed8

Browse files
authored
Merge pull request #32 from fnaoto/2022-12-08
Fix config to pointer.
2 parents 022f802 + 8f862aa commit 79d7ed8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deploygate/provider.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ func Provider() *schema.Provider {
3838

3939
func providerConfigure(p *schema.Provider) schema.ConfigureContextFunc {
4040
return func(_ context.Context, d *schema.ResourceData) (interface{}, diag.Diagnostics) {
41-
config := Config{
41+
config := &Config{
4242
clientConfig: go_deploygate.ClientConfig{
4343
ApiKey: d.Get("api_key").(string),
4444
},

0 commit comments

Comments
 (0)