[2.5, doc] API documentation doesn't match implementation for pod console logging
Bug #1802018 reported by
Mike Pontillo
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
High
|
Newell Jensen |
Bug Description
I noticed that api/pods.py contains the following text:
:param console_log: If True, created VMs for this pod will have
their console output logged. To do this, a tag with the name
this tag already exists and deletes it if it does.
:type console_log: boolean
However, the implementation in forms/pods.py is as follows:
console_log = data.get(
We need to either change the implementation to match the docs, or the reverse.
Related branches
~newell-jensen/maas:lp1802018
- Andres Rodriguez (community): Approve
- MAAS Lander: Needs Fixing
- Mike Pontillo (community): Approve
-
Diff: 18 lines (+2/-2)1 file modifiedsrc/maasserver/api/pods.py (+2/-2)
Changed in maas: | |
assignee: | nobody → Newell Jensen (newell-jensen) |
status: | Triaged → In Progress |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.