Keep run logs opaque and streamline transfers
This commit is contained in:
@@ -60,7 +60,7 @@ func (worker *Worker) uploadFileArtifact(ctx context.Context, assignment protoco
|
||||
if read != length {
|
||||
return fmt.Errorf("file artifact chunk is shorter than expected")
|
||||
}
|
||||
chunk := append([]byte(nil), buffer[:length]...)
|
||||
chunk := buffer[:length]
|
||||
state, err := worker.registeredState()
|
||||
if err != nil {
|
||||
return err
|
||||
|
||||
Reference in New Issue
Block a user