Skip to content

Commit

Permalink
feat:adjust interface for handle, issue: #278
Browse files Browse the repository at this point in the history
  • Loading branch information
tbs60 committed Aug 13, 2024
1 parent 9b41164 commit 77d8f09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/booster/bk_dist/handler/winclangcl/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ func (cc *WinClangCl) PostExecute(r *dcSDK.BKDistResult) (int, error) {

if r.Results[0].RetCode == 0 {
blog.Infof("cc: [%s] success done post execute", cc.tag)
return 0, nil
return dcType.ErrorNone.Code, dcType.ErrorNone.Error
}
blog.Warnf("cc: [%s] failed to remote execute, retcode %d, error message:%s, output message:%s",
cc.tag,
Expand Down

0 comments on commit 77d8f09

Please sign in to comment.