Skip to content

Commit

Permalink
Add test debugging
Browse files Browse the repository at this point in the history
Signed-off-by: Grant Griffiths <ggriffiths@purestorage.com>
  • Loading branch information
Grant Griffiths committed Jul 27, 2023
1 parent c08d0a8 commit 4039639
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/util/test/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -3016,7 +3016,7 @@ func ValidateGrafana(pxImageList map[string]string, cluster *corev1.StorageClust
func ValidateGrafanaDeployment(cluster *corev1.StorageCluster, shouldBeInstalled bool, pxImageList map[string]string) error {
deployment, err := appops.Instance().GetDeployment("px-grafana", cluster.Namespace)
if err != nil {
return err
return fmt.Errorf("failed to get deployment in ns %v: %v", cluster.Namespace, err)
}

if err := appops.Instance().ValidateDeployment(deployment, 2*time.Minute, 10*time.Second); err != nil {
Expand Down

0 comments on commit 4039639

Please sign in to comment.