Skip to content

Commit

Permalink
Merge pull request #3351 from OpenSourceProjects/fix-waiting-room-import
Browse files Browse the repository at this point in the history
Fix importing waiting room events
  • Loading branch information
jacobbednarz authored Jun 11, 2024
2 parents 66c435e + 2addec9 commit 408646d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .changelog/3351.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
resource/cloudflare_waiting_room_event: fix panic when trying to import a resource
```
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ func resourceCloudflareWaitingRoomEventImport(ctx context.Context, d *schema.Res
if len(idAttr) == 3 {
zoneID = idAttr[0]
waitingRoomID = idAttr[1]
waitingRoomEventID = idAttr[3]
waitingRoomEventID = idAttr[2]
} else {
return nil, fmt.Errorf("invalid id (\"%s\") specified, should be in format \"zoneID/waitingRoomID/eventID\" for import", d.Id())
}
Expand Down

0 comments on commit 408646d

Please sign in to comment.