Ticket #1245 (closed defect: fixed)

Opened 16 months ago

Last modified 16 months ago

param.show mixes false/off for booleans

Reported by: kristian Owned by: phk
Priority: normal Milestone:
Component: varnishd Version: trunk
Severity: normal Keywords:
Cc:

Description

The output of param.show uses "off" when printing the value of a boolean, but "false" when printing the default for the same parameter.

E.g:

$ varnishadm param.show busyobj_worker_cache
busyobj_worker_cache        off
                            Default is false

Change History

comment:1 Changed 16 months ago by phk

  • Owner set to phk
  • Component changed from build to varnishd

comment:2 Changed 16 months ago by Poul-Henning Kamp <phk@…>

In [8fa24e2043d62401ebb8bc22508b6b72613a32c9]:

Match output for boolean params to the default value so
we can choose to present on/off or true/false, depending on what
makes most sense.

Fixes #1245

comment:3 Changed 16 months ago by Poul-Henning Kamp <phk@…>

  • Status changed from new to closed
  • Resolution set to fixed

(In [8fa24e2043d62401ebb8bc22508b6b72613a32c9]) Match output for boolean params to the default value so we can choose to present on/off or true/false, depending on what makes most sense.

Fixes #1245

Note: See TracTickets for help on using tickets.