Skip to content

Commit

Permalink
fix network zone pagination
Browse files Browse the repository at this point in the history
Signed-off-by: Tien Nguyen <duytien.nguyen@okta.com>
  • Loading branch information
duytiennguyen-okta committed Nov 19, 2024
1 parent 1a1dc58 commit 195a312
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion okta/data_source_okta_network_zone.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ func findNetworkZoneByName(ctx context.Context, m interface{}, name string) (*v5
}
for i := range moreZones {
if getNetworkZoneName(moreZones[i]) == name {
return &zones[i], nil
return &moreZones[i], nil
}
}
} else {
Expand Down

0 comments on commit 195a312

Please sign in to comment.