Skip to content

Commit 85d0ad6

Browse files
committed
Added missing properties for pluggable upload
1 parent 83351b3 commit 85d0ad6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

commands/upload/upload.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -442,6 +442,10 @@ func runProgramAction(pm *packagemanager.PackageManager,
442442
}
443443

444444
// Get Port properties gathered using Pluggable Discovery
445+
uploadProperties.Set("upload.port.address", port.Address)
446+
uploadProperties.Set("upload.port.label", port.Label)
447+
uploadProperties.Set("upload.port.protocol", port.Protocol)
448+
uploadProperties.Set("upload.port.protocolLabel", port.ProtocolLabel)
445449
for prop, value := range actualPort.Properties {
446450
uploadProperties.Set(fmt.Sprintf("upload.port.properties.%s", prop), value)
447451
}

0 commit comments

Comments
 (0)