From a231f177b5425e8a5ff9871a2badf7ee45a99c8c Mon Sep 17 00:00:00 2001 From: Eduard Tolosa Date: Mon, 5 Feb 2024 03:26:22 -0500 Subject: [PATCH] Use proper type for keep_only. --- examples/config-templates/config-all.toml | 2 +- examples/config-templates/config-home.toml | 2 +- examples/config-templates/config-root.toml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/config-templates/config-all.toml b/examples/config-templates/config-all.toml index 9c26014..ffa5a50 100644 --- a/examples/config-templates/config-all.toml +++ b/examples/config-templates/config-all.toml @@ -12,4 +12,4 @@ snapshot_prefix = "root" # Snapshots identifier snapshot_kind = "weekly" # Last snapshots to keep. If prefix is specified then only the snapshots with that prefix will be deleted -keep_only = "2" +keep_only = 2 diff --git a/examples/config-templates/config-home.toml b/examples/config-templates/config-home.toml index 4ef8e1b..4a55c86 100644 --- a/examples/config-templates/config-home.toml +++ b/examples/config-templates/config-home.toml @@ -7,4 +7,4 @@ database_file = "/var/lib/rusnapshot/rusnapshot.db" # Prefix for the snapshots, they will be saved in the format prefix-$current_date snapshot_prefix = "home" # Last snapshots to keep. If prefix is specified then only the snapshots with that prefix will be deleted -keep_only = "2" +keep_only = 2 diff --git a/examples/config-templates/config-root.toml b/examples/config-templates/config-root.toml index 9e9759e..5f63768 100644 --- a/examples/config-templates/config-root.toml +++ b/examples/config-templates/config-root.toml @@ -7,4 +7,4 @@ database_file = "/var/lib/rusnapshot/rusnapshot.db" # Prefix for the snapshots, they will be saved in the format prefix-$current_date snapshot_prefix = "root" # Last snapshots to keep. If prefix is specified then only the snapshots with that prefix will be deleted -keep_only = "2" +keep_only = 2