Skip to content

Commit bd93405

Browse files
committed
feat: update waiters for new SDK fields
1 parent 21b764e commit bd93405

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

internal/services/file/waiter.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ func waitForFileSystem(ctx context.Context, fileAPI *file.API, region scw.Region
1616
}
1717

1818
fileSystem, err := fileAPI.WaitForFileSystem(&file.WaitForFileSystemRequest{
19-
FileSystemID: id,
19+
FilesystemID: id,
2020
Region: region,
2121
Timeout: scw.TimeDurationPtr(timeout),
2222
RetryInterval: &retryInterval,

internal/services/k8s/waiters.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ func waitClusterStatus(ctx context.Context, k8sAPI *k8s.API, cluster *k8s.Cluste
5050
cluster, err := k8sAPI.WaitForCluster(&k8s.WaitForClusterRequest{
5151
ClusterID: cluster.ID,
5252
Region: cluster.Region,
53-
Status: status,
5453
Timeout: scw.TimeDurationPtr(timeout),
5554
RetryInterval: &retryInterval,
5655
}, scw.WithContext(ctx))

0 commit comments

Comments
 (0)