Closed dparv closed 3 months ago
Currently it uses
https://github.com/canonical/charm-logrotated/blob/3178614ef57c5fe5dec467fb022a8187717255ba/src/lib/lib_cron.py#L68
This needs to be changed to check if juju version is 2, use juju-run, if juju version is 3 - use juju-exec.
juju-run
juju-exec
@dparv a fix has been merged and is available on edge. :)
Currently it uses
https://github.com/canonical/charm-logrotated/blob/3178614ef57c5fe5dec467fb022a8187717255ba/src/lib/lib_cron.py#L68
This needs to be changed to check if juju version is 2, use
juju-run
, if juju version is 3 - usejuju-exec
.