Skip to content

Commit

Permalink
Merge pull request #2142 from okta/fix-network-zone-pagination
Browse files Browse the repository at this point in the history
fix network zone pagination
  • Loading branch information
duytiennguyen-okta authored Nov 20, 2024
2 parents 1a1dc58 + 195a312 commit 92a7b86
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 92a7b86

Please sign in to comment.