Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix panic: runtime error: invalid memory address or nil pointer dereference #142

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/davidji99/terraform-provider-split

go 1.18
go 1.19

require (
github.com/davidji99/simpleresty v0.4.1
Expand Down
1 change: 0 additions & 1 deletion split/resource_split_segment_environment_association.go
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,6 @@ func resourceSplitSegmentEnvironmentAssociationRead(ctx context.Context, d *sche
diags = append(diags, diag.Diagnostic{
Severity: diag.Error,
Summary: fmt.Sprintf("did not find to segment [%s] in environment [%s]", d.Id(), environmentID),
Detail: getErr.Error(),
})
return diags
}
Expand Down