Display policy time units in bkctld status output #52
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The current output of
bkctld status $jail
is :$jail_name ON $port 2/1 $IP
I suggest to change it to :
$jail_name ON $port 2d/1m $IP
This precision avoids confusion between the two retention periods (d last days, and 1st day of m last month).
The
echo
to change is inlib/bkctld-status
line 21.Brice proposes to display the time unit in a column header instead of inline.
This seems more standard and would keep output parsing simple.
Jérémy L. suggested to add an option --no-header for backward compatibility.