Skip to content

Commit a02a9fa

Browse files
committed
Fixing markdown text. Changed default parameters.
1 parent a66464d commit a02a9fa

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

notebooks/Snapshot Diff Tool.ipynb

+6-5
Original file line numberDiff line numberDiff line change
@@ -30,17 +30,17 @@
3030
"cell_type": "markdown",
3131
"metadata": {},
3232
"source": [
33-
"## Create Snapshot Policy - Every Minute at Root\n",
34-
"Saves 10 minutes of snapshots as a small buffer."
33+
"## Create Snapshot Policy\n",
34+
"Default is on the root directory, with 10 minutes of snapshots as a small buffer."
3535
]
3636
},
3737
{
3838
"cell_type": "code",
39-
"execution_count": 16,
39+
"execution_count": 1,
4040
"metadata": {},
4141
"outputs": [],
4242
"source": [
43-
"def create_policy_for_diff(rc, policy_name=\"EveryMinuteForDiffs\", path='/', minutes=10):\n",
43+
"def create_policy_for_diff(rc, policy_name, path='/', minutes=10):\n",
4444
" try:\n",
4545
" dets = rc.fs.get_file_attr(path=path)\n",
4646
" except:\n",
@@ -73,7 +73,8 @@
7373
"cell_type": "markdown",
7474
"metadata": {},
7575
"source": [
76-
"## Diff all snapshots in the every minute policy"
76+
"## Diff all snapshots in a policy\n",
77+
"**Warning: This will delete the oldest snapshots after it's done the diff!**"
7778
]
7879
},
7980
{

0 commit comments

Comments
 (0)