mirror of
https://github.com/cupcakearmy/autorestic.git
synced 2024-12-22 08:16:25 +00:00
linting
This commit is contained in:
parent
6449b8999f
commit
8e13e7bc40
@ -122,7 +122,7 @@ func (l Location) getPath() (string, error) {
|
|||||||
case TypeVolume:
|
case TypeVolume:
|
||||||
return "/volume/" + l.Name + "/" + l.getVolumeName(), nil
|
return "/volume/" + l.Name + "/" + l.getVolumeName(), nil
|
||||||
}
|
}
|
||||||
return "", fmt.Errorf("Could not get path for location \"%s\"", l.Name)
|
return "", fmt.Errorf("could not get path for location \"%s\"", l.Name)
|
||||||
}
|
}
|
||||||
|
|
||||||
func (l Location) Backup() error {
|
func (l Location) Backup() error {
|
||||||
|
Loading…
Reference in New Issue
Block a user