Skip to content

Commit 709db6f

Browse files
committed
Added missing properties for pluggable upload
1 parent 18777b2 commit 709db6f

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
@@ -445,6 +445,10 @@ func runProgramAction(pm *packagemanager.PackageManager,
445445
}
446446

447447
// Get Port properties gathered using Pluggable Discovery
448+
uploadProperties.Set("upload.port.address", port.Address)
449+
uploadProperties.Set("upload.port.label", port.Label)
450+
uploadProperties.Set("upload.port.protocol", port.Protocol)
451+
uploadProperties.Set("upload.port.protocolLabel", port.ProtocolLabel)
448452
for prop, value := range actualPort.Properties {
449453
uploadProperties.Set(fmt.Sprintf("upload.port.properties.%s", prop), value)
450454
}

0 commit comments

Comments
 (0)