You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
common.WriteJsonResp(w, util.DefaultApiError().WithHttpStatusCode(http.StatusBadRequest).WithInternalMessage("Invalid payload. Provide cluster ids in request").WithUserMessage("Invalid payload. Provide cluster ids in request"),
impl.logger.Errorw("error in fetching app list", "clusters", clusterIds, "err", err)
166
-
}
167
-
iferr==nil&&len(clusterIds) >0 {
173
+
common.WriteJsonResp(w, util.DefaultApiError().WithHttpStatusCode(http.StatusInternalServerError).WithInternalMessage("error in fetching app list").WithUserMessage("error in fetching app list"),
174
+
nil,
175
+
http.StatusInternalServerError)
176
+
return
177
+
} elseiflen(clusterIds) >0 {
168
178
// get helm apps which are created using cd_pipelines
0 commit comments