[Commotion-admin] [commotion-apps] fixed bug where obsolete service files werent being deleted when service... (#9)

dismantl notifications at github.com
Thu Aug 22 14:22:23 UTC 2013


... is updated

to test:
1) create a service w/ web interface, where service IP address is 127.0.0.1 and Port field is blank, and a TTL > 0. You should see a file in /etc/avahi/services/ called 127_460_460_461.service.
2) Log in as admin, and edit the service in the web interface. Add '80' to the Port field, and click submit. In the /etc/avahi/services directory, the old file 127_460_460_461.service should no longer be there, and 127_460_460_46180.service should be there instead.
You can merge this Pull Request by running:

  git pull https://github.com/opentechinstitute/commotion-apps service-delete-fix

Or you can view, comment on it, or merge it online at:

  https://github.com/opentechinstitute/commotion-apps/pull/9

-- Commit Summary --

  * fixed bug where obsolete service files werent being deleted when service is updated

-- File Changes --

    M lua/luci/controller/commotion/apps_controller.lua (22)

-- Patch Links --

https://github.com/opentechinstitute/commotion-apps/pull/9.patch
https://github.com/opentechinstitute/commotion-apps/pull/9.diff

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.chambana.net/pipermail/commotion-admin/attachments/20130822/63e74011/attachment.html>


More information about the Commotion-admin mailing list