Merge pull request #581 from replicatedhq/pa1/fix-deployment-status-panic

fix panic: return nil result when no files to check deployment status analyzer
This commit is contained in:
Pavan Sokke Nagaraj
2022-05-27 15:55:14 -04:00
committed by GitHub

View File

@@ -55,6 +55,10 @@ func analyzeOneDeploymentStatus(analyzer *troubleshootv1beta2.DeploymentStatus,
}
}
if result == nil {
return nil, nil
}
return []*AnalyzeResult{result}, nil
}