Skip to content

Commit

Permalink
Fixed id
Browse files Browse the repository at this point in the history
  • Loading branch information
tuteng committed Dec 27, 2023
1 parent b247eab commit 2223bb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cloud/resource_pulsar_instance_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ func testCheckResourcePulsarInstanceExists(name string) resource.TestCheckFunc {
if err != nil {
return err
}
organizationInstance := strings.Split(name, "/")
organizationInstance := strings.Split(rs.Primary.ID, "/")
pulsarInstance, err := clientSet.CloudV1alpha1().
PulsarInstances(organizationInstance[0]).
Get(context.Background(), organizationInstance[1], metav1.GetOptions{})
Expand Down

0 comments on commit 2223bb0

Please sign in to comment.