|
|
|
@@ -245,9 +245,9 @@ sendjob: |
|
|
|
goto sendjob |
|
|
|
} |
|
|
|
|
|
|
|
if result.Code != Success { |
|
|
|
return fmt.Errorf("CommitImage err: %s", res.String()) |
|
|
|
} |
|
|
|
//if result.Code != Success { |
|
|
|
//return fmt.Errorf("CommitImage err: %s", res.String()) |
|
|
|
//} |
|
|
|
|
|
|
|
err = models.WithTx(func(ctx models.DBContext) error { |
|
|
|
image := models.Image{ |
|
|
|
|