summaryrefslogtreecommitdiff
path: root/libpod/networking_machine.go
diff options
context:
space:
mode:
Diffstat (limited to 'libpod/networking_machine.go')
-rw-r--r--libpod/networking_machine.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/libpod/networking_machine.go b/libpod/networking_machine.go
index 73089c474..7b8eb94df 100644
--- a/libpod/networking_machine.go
+++ b/libpod/networking_machine.go
@@ -33,9 +33,9 @@ type machineExpose struct {
func requestMachinePorts(expose bool, ports []types.PortMapping) error {
url := "http://" + machineGvproxyEndpoint + "/services/forwarder/"
if expose {
- url = url + "expose"
+ url += "expose"
} else {
- url = url + "unexpose"
+ url += "unexpose"
}
ctx := context.Background()
client := &http.Client{