suppress check error on get
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user