mirror of
https://gitee.com/rainbond/Rainbond.git
synced 2024-12-02 11:47:36 +08:00
[REV] Update annotation
This commit is contained in:
parent
b0857ce921
commit
9f56526073
@ -104,8 +104,8 @@ func (ps ParseErrorList) IsFatalError() bool {
|
||||
|
||||
//Image 镜像
|
||||
type Image struct {
|
||||
Name string
|
||||
Tag string
|
||||
Name string `json:"name"`
|
||||
Tag string `json:"tag"`
|
||||
}
|
||||
|
||||
func (i Image) String() string {
|
||||
|
@ -223,6 +223,7 @@ func (d *SourceCodeParse) Parse() ParseErrorList {
|
||||
}
|
||||
}
|
||||
d.Lang = lang
|
||||
logrus.Debugf("d. lang result is %v", d.Lang)
|
||||
if lang == code.NO {
|
||||
d.errappend(ErrorAndSolve(FatalError, "代码无法失败语言类型", "请参考文档查看平台语言支持规范"))
|
||||
return d.errors
|
||||
|
@ -76,7 +76,7 @@ func (f *FTPBase)UploadFile(path, file string, logger event.Logger) error {
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
var bufSize int64 = 1024 * 1024 * 24
|
||||
var bufSize int64 = 1024 * 1024 * 50
|
||||
if stat.Size() < bufSize {
|
||||
bufSize = stat.Size()
|
||||
logrus.Debugf("file buf size is %d", bufSize)
|
||||
|
Loading…
Reference in New Issue
Block a user