Skip to content

Commit

Permalink
Update code for removed cmapichecker parameters
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Weiße <[email protected]>
  • Loading branch information
daniel-weisse committed Oct 16, 2024
1 parent 3c1d1a6 commit 7e1e950
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cli/internal/kube/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ import (
"github.com/cert-manager/cert-manager/pkg/util/cmapichecker"
"github.com/edgelesssys/marblerun/cli/internal/helm"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/runtime"
"k8s.io/client-go/kubernetes"
"k8s.io/client-go/rest"
"k8s.io/client-go/tools/clientcmd"
Expand Down Expand Up @@ -64,7 +63,7 @@ func NewCertManagerChecker() (cmapichecker.Interface, error) {
return nil, err
}

return cmapichecker.New(kubeConfig, runtime.NewScheme(), "default")
return cmapichecker.New(kubeConfig, "default")
}

func getRestConfig() (*rest.Config, error) {
Expand Down

0 comments on commit 7e1e950

Please sign in to comment.