Skip to content

Commit

Permalink
set available to 0 en deployment is not checked
Browse files Browse the repository at this point in the history
  • Loading branch information
grosnj1 authored and grosnj1 committed Feb 14, 2024
1 parent 22f2329 commit eb62a3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/utils/status.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ func getDeploymentStatus(ctx context.Context, instance *csmv1.ContainerStorageMo

if instance.GetName() == "" || instance.GetName() == string(csmv1.Authorization) {
log.Infof("Not a driver instance, will not check deploymentstatus")
return 0, csmv1.PodStatus{}, nil
return 0, csmv1.PodStatus{Available: "0"}, nil
}

err = cluster.ClusterCTRLClient.Get(ctx, t1.NamespacedName{Name: instance.GetControllerName(),
Expand Down

0 comments on commit eb62a3e

Please sign in to comment.