|
|
@@ -24,7 +24,7 @@ import (
|
|
|
"strings"
|
|
|
"time"
|
|
|
|
|
|
- smapi "github.com/scaleway/scaleway-sdk-go/api/secret/v1alpha1"
|
|
|
+ smapi "github.com/scaleway/scaleway-sdk-go/api/secret/v1beta1"
|
|
|
"github.com/scaleway/scaleway-sdk-go/scw"
|
|
|
"github.com/tidwall/gjson"
|
|
|
corev1 "k8s.io/api/core/v1"
|
|
|
@@ -336,7 +336,7 @@ func (c *client) GetAllSecrets(ctx context.Context, ref esv1beta1.ExternalSecret
|
|
|
}
|
|
|
|
|
|
totalFetched := uint64(*request.Page-1)*uint64(*request.PageSize) + uint64(len(response.Secrets))
|
|
|
- done = totalFetched == uint64(response.TotalCount)
|
|
|
+ done = totalFetched == response.TotalCount
|
|
|
|
|
|
*request.Page++
|
|
|
|