[2.5, doc] API documentation doesn't match implementation for pod console logging

Bug #1802018 reported by Mike Pontillo
6
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
            'pod-console-logging' is created. If False, it checks to see if
            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('console_logging', '').lower()

We need to either change the implementation to match the docs, or the reverse.

Related branches

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.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.