diff --git a/changelog/55295.changed b/changelog/55295.changed deleted file mode 100644 index 3c5ce743dd4..00000000000 --- a/changelog/55295.changed +++ /dev/null @@ -1 +0,0 @@ -renamed `keep_jobs`, specifying job cache TTL in hours, to `keep_jobs_seconds`, specifying TTL in seconds \ No newline at end of file diff --git a/changelog/55295.deprecated b/changelog/55295.deprecated new file mode 100644 index 00000000000..71c9da60baa --- /dev/null +++ b/changelog/55295.deprecated @@ -0,0 +1,2 @@ +renamed `keep_jobs`, specifying job cache TTL in hours, to `keep_jobs_seconds`, specifying TTL in seconds. +`keep_jobs` will be removed in the Argon release diff --git a/salt/utils/job.py b/salt/utils/job.py index 4f9febbe89a..a734b015a7c 100644 --- a/salt/utils/job.py +++ b/salt/utils/job.py @@ -192,7 +192,7 @@ def get_keep_jobs_seconds(opts): keep_jobs = opts.get("keep_jobs", 24) if keep_jobs_seconds == 86400 and keep_jobs != 24: salt.utils.versions.warn_until( - "Chlorine", + "Argon", "The 'keep_jobs' option has been deprecated and replaced with " "'keep_jobs_seconds'.", )