forked from TrueCloudLab/restic
Fix comment to comply with linter
This commit is contained in:
parent
5069c9edd9
commit
9f9e91eb0d
1 changed files with 1 additions and 1 deletions
|
@ -213,7 +213,7 @@ func TestSetSnapshotID(t testing.TB, sn *Snapshot, id ID) {
|
||||||
sn.id = &id
|
sn.id = &id
|
||||||
}
|
}
|
||||||
|
|
||||||
// Convenience function that parses a duration from a string or panics if string is invalid.
|
// ParseDurationOrPanic parses a duration from a string or panics if string is invalid.
|
||||||
// The format is `6y5m234d37h`.
|
// The format is `6y5m234d37h`.
|
||||||
func ParseDurationOrPanic(s string) Duration {
|
func ParseDurationOrPanic(s string) Duration {
|
||||||
d, err := ParseDuration(s)
|
d, err := ParseDuration(s)
|
||||||
|
|
Loading…
Reference in a new issue