suppress check error on get

This commit is contained in:
mr
2026-03-19 08:44:25 +01:00
parent 28b5b7d39f
commit 5fca0480af

View File

@@ -212,10 +212,7 @@ func (k *KubernetesService) CreateRoleBinding(ctx context.Context, ns string, ro
// namespace: namespace, service-account, role and role-binding. Idempotent — if
// the namespace already exists the call is a no-op.
func (k *KubernetesService) ProvisionExecutionNamespace(ctx context.Context, ns string) error {
existing, err := k.GetNamespace(ctx, ns)
if err != nil {
return err
}
existing, _ := k.GetNamespace(ctx, ns)
if existing != nil {
return nil
}