stuartpb / dokku-bind-port

Dokku plugin for binding app container ports to host interfaces
MIT License
16 stars 3 forks source link

Fix bug of deleting failure of udp port #4

Closed algas closed 10 years ago

algas commented 10 years ago

When I tried to delete udp binding port, I got the following error.

-----> Unbinding port 12345/udp in app-name
sed: -e expression #1, char 18: unknown option to `s'

This PR will fix it.

stuartpb commented 10 years ago

Right, I'd never considered that somebody would be binding udp when I wrote this - it was pretty much just for (implicit) tcp.