Closed (fixed)
Project:
Hostmaster (Aegir)
Version:
6.x-0.4-alpha3
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Mar 2011 at 15:18 UTC
Updated:
13 Apr 2011 at 20:31 UTC
When a server has no available services, warnings are thrown since $node->services, which is populated in hosting_server_init_services(), is missing. Patch attached that initializes $node->services as an empty array.
Also fixed a typo in the function's docblock, and added some additional doxygen info.
| Comment | File | Size | Author |
|---|---|---|---|
| server-no-services.patch | 1.36 KB | mr.baileys |
Comments
Comment #1
anarcat commentedCommitted to head. I have rerolled the patch as it was introducing whitespace errors:
Comment #2
anarcat commentedAlso merged in the stable branch because of the API documentation.