Skip to content

Commit 13c2c35

Browse files
committed
use show config snapshot with empty rustic.toml
1 parent 0f3d8ee commit 13c2c35

File tree

1 file changed

+2
-119
lines changed

1 file changed

+2
-119
lines changed

tests/snapshots/show_config__show_config_passes.snap

+2-119
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ run-finally = []
1919
[global.prometheus-labels]
2020

2121
[repository]
22-
repository = "local:/tmp/repo"
23-
password = "testx"
2422
no-cache = false
2523
warm-up = false
2624

@@ -31,10 +29,7 @@ warm-up = false
3129
[repository.options-cold]
3230

3331
[repository.hooks]
34-
run-before = [
35-
"echo before",
36-
"echo before1",
37-
]
32+
run-before = []
3833
run-after = []
3934
run-failed = []
4035
run-finally = []
@@ -71,6 +66,7 @@ exclude-if-present = []
7166
one-file-system = false
7267
tags = []
7368
delete-never = false
69+
snapshots = []
7470
sources = []
7571

7672
[backup.hooks]
@@ -79,119 +75,6 @@ run-after = []
7975
run-failed = []
8076
run-finally = []
8177

82-
[[backup.snapshots]]
83-
stdin-filename = ""
84-
with-atime = false
85-
ignore-devid = false
86-
no-scan = false
87-
json = false
88-
long = false
89-
quiet = false
90-
init = false
91-
skip-identical-parent = false
92-
force = false
93-
ignore-ctime = false
94-
ignore-inode = false
95-
globs = []
96-
iglobs = []
97-
glob-files = []
98-
iglob-files = []
99-
git-ignore = false
100-
no-require-git = false
101-
custom-ignorefiles = []
102-
exclude-if-present = []
103-
one-file-system = false
104-
tags = []
105-
delete-never = false
106-
snapshots = []
107-
sources = ["-"]
108-
109-
[backup.snapshots.stdin-command]
110-
command = "echo"
111-
args = ["test"]
112-
on-failure = "warn"
113-
114-
[backup.snapshots.hooks]
115-
run-before = []
116-
run-after = []
117-
run-failed = []
118-
run-finally = []
119-
120-
[backup.snapshots.prometheus-labels]
121-
122-
[[backup.snapshots]]
123-
stdin-filename = ""
124-
with-atime = false
125-
ignore-devid = false
126-
no-scan = false
127-
json = false
128-
long = false
129-
quiet = false
130-
init = false
131-
skip-identical-parent = false
132-
force = false
133-
ignore-ctime = false
134-
ignore-inode = false
135-
globs = []
136-
iglobs = []
137-
glob-files = []
138-
iglob-files = []
139-
git-ignore = false
140-
no-require-git = false
141-
custom-ignorefiles = []
142-
exclude-if-present = []
143-
one-file-system = false
144-
tags = []
145-
delete-never = false
146-
snapshots = []
147-
sources = ["src/commands"]
148-
149-
[backup.snapshots.hooks]
150-
run-before = []
151-
run-after = []
152-
run-failed = []
153-
run-finally = []
154-
155-
[backup.snapshots.prometheus-labels]
156-
157-
[[backup.snapshots]]
158-
stdin-filename = ""
159-
with-atime = false
160-
ignore-devid = false
161-
no-scan = false
162-
json = false
163-
long = false
164-
quiet = false
165-
init = false
166-
skip-identical-parent = false
167-
force = false
168-
ignore-ctime = false
169-
ignore-inode = false
170-
globs = []
171-
iglobs = []
172-
glob-files = []
173-
iglob-files = []
174-
git-ignore = false
175-
no-require-git = false
176-
custom-ignorefiles = []
177-
exclude-if-present = []
178-
one-file-system = false
179-
tags = []
180-
delete-never = false
181-
snapshots = []
182-
sources = [
183-
"src/commands",
184-
"src/config",
185-
]
186-
187-
[backup.snapshots.hooks]
188-
run-before = []
189-
run-after = []
190-
run-failed = []
191-
run-finally = []
192-
193-
[backup.snapshots.prometheus-labels]
194-
19578
[backup.prometheus-labels]
19679

19780
[copy]

0 commit comments

Comments
 (0)