Skip to content

Commit

Permalink
Merge commit '772f990dab6b18bd041ab50ace194b9d1dab7088'
Browse files Browse the repository at this point in the history
  • Loading branch information
LittleLollipop committed Sep 29, 2024
2 parents 56cd08a + 772f990 commit 804228b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
10 changes: 5 additions & 5 deletions pkg/apiserver/service/v1/handler_dev.go
Original file line number Diff line number Diff line change
Expand Up @@ -223,11 +223,11 @@ func (h *Handler) devUpload(req *restful.Request, resp *restful.Response) {
}

if install {
err = checkDep(info, token)
if err != nil {
respDepErr(resp, err.Error())
return
}
// err = checkDep(info, token)
// if err != nil {
// respDepErr(resp, err.Error())
// return
// }

resBody, err := installByType(info, token)
if err != nil {
Expand Down
8 changes: 4 additions & 4 deletions pkg/apiserver/service/v1/handler_install.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,10 @@ func installPre(appName, token string) (*models.ApplicationInfo, error) {
return info, errors.New("get chart name failed")
}

err = checkDep(info, token)
if err != nil {
return info, err
}
// err = checkDep(info, token)
// if err != nil {
// return info, err
// }

err = appmgr.DownloadAppTgz(info.ChartName)
if err != nil {
Expand Down

0 comments on commit 804228b

Please sign in to comment.