From 195a312ee0ca6eb5833ebf4526ceff0663e42288 Mon Sep 17 00:00:00 2001 From: Tien Nguyen Date: Tue, 19 Nov 2024 17:00:59 -0500 Subject: [PATCH] fix network zone pagination Signed-off-by: Tien Nguyen --- okta/data_source_okta_network_zone.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/okta/data_source_okta_network_zone.go b/okta/data_source_okta_network_zone.go index aa5dfb64a..046ed0e53 100644 --- a/okta/data_source_okta_network_zone.go +++ b/okta/data_source_okta_network_zone.go @@ -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 {