File tree 1 file changed +2
-2
lines changed
Filter options
1 file changed +2
-2
lines changed
Original file line number Diff line number Diff line change @@ -398,7 +398,7 @@ func runProgramAction(pme *packagemanager.Explorer,
398
398
// expected port change then run the detector.
399
399
updatedUploadPort := f .NewFuture [* rpc.Port ]()
400
400
if uploadProperties .GetBoolean ("upload.wait_for_upload_port" ) && watch != nil {
401
- go detectUploadPort (port , watch , uploadCtx , updatedUploadPort )
401
+ go detectUploadPort (uploadCtx , port , watch , updatedUploadPort )
402
402
} else {
403
403
updatedUploadPort .Send (nil )
404
404
go f .DiscardCh (watch )
@@ -522,7 +522,7 @@ func runProgramAction(pme *packagemanager.Explorer,
522
522
return updatedUploadPort .Await (), nil
523
523
}
524
524
525
- func detectUploadPort (uploadPort * rpc.Port , watch <- chan * rpc.BoardListWatchResponse , uploadCtx context. Context , result f.Future [* rpc.Port ]) {
525
+ func detectUploadPort (uploadCtx context. Context , uploadPort * rpc.Port , watch <- chan * rpc.BoardListWatchResponse , result f.Future [* rpc.Port ]) {
526
526
log := logrus .WithField ("task" , "port_detection" )
527
527
log .Tracef ("Detecting new board port after upload" )
528
528
You can’t perform that action at this time.
0 commit comments