리플레이 저장
- stdout pipe를 통해 houston에 리플레이 upload 요청 기능 추가
This commit is contained in:
@ -44,6 +44,14 @@ func lastExecutionArgs(verpath string) []string {
|
||||
return out
|
||||
}
|
||||
|
||||
func (hc *houstonClient) uploadToAppendFile(filePath string, name string, version string) {
|
||||
hc.uploadChan <- uploadRequest{
|
||||
filePath: filePath,
|
||||
name: name,
|
||||
version: version,
|
||||
}
|
||||
}
|
||||
|
||||
var errUploadZipLogFailed = errors.New("not ok")
|
||||
|
||||
func (hc *houstonClient) uploadZipLogFile(zipFile string, name string, version string) error {
|
||||
@ -460,6 +468,8 @@ func (hc *houstonClient) launch(meta *procmeta) error {
|
||||
}
|
||||
|
||||
continue
|
||||
} else if ok, err := HandleHoustonPipeReq(hc, meta, buff); ok && err != nil {
|
||||
logger.Println("HandleHoustonStdoutReq failed :", err)
|
||||
}
|
||||
|
||||
logWriter(buff)
|
||||
|
||||
Reference in New Issue
Block a user