Skip to content

Commit 0706816

Browse files
committed
fix: types
Signed-off-by: QuentinN42 <quentin@lieumont.fr>
1 parent 7f59ef0 commit 0706816

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

pkg/cli/integrations_akamai.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ var integrationsAkamaiList = &cobra.Command{
2020
if err != nil {
2121
return err
2222
}
23-
integrations, err := client.GetAkamaiIntegrationsWithResponse(cmd.Context())
23+
integrations, err := client.ListAkamaiIntegrationsWithResponse(cmd.Context())
2424
if err != nil {
2525
return err
2626
}

pkg/cli/integrations_kubernetes.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ var integrationsKubernetesList = &cobra.Command{
2323
if err != nil {
2424
return err
2525
}
26-
integrations, err := client.GetKubernetesIntegrationsWithResponse(cmd.Context())
26+
integrations, err := client.ListKubernetesIntegrationsWithResponse(cmd.Context())
2727
if err != nil {
2828
return err
2929
}

pkg/locations/private/kube/integration.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ package kube
33
import (
44
"context"
55
"fmt"
6-
"time"
76

87
"github.com/Escape-Technologies/cli/pkg/api"
98
"github.com/Escape-Technologies/cli/pkg/log"
@@ -32,5 +31,4 @@ func UpsertIntegration(ctx context.Context, client *api.ClientWithResponses, loc
3231
} else {
3332
return fmt.Errorf("unable to create integration: Unknown error")
3433
}
35-
return nil
3634
}

0 commit comments

Comments
 (0)