mirror of
https://github.com/offen/docker-volume-backup.git
synced 2025-11-11 09:51:47 +08:00
Fix identation
This commit is contained in:
parent
3f4d33cd8c
commit
6ab2ccf3a6
1 changed files with 2 additions and 2 deletions
|
|
@ -37,8 +37,8 @@ type Config struct {
|
||||||
|
|
||||||
// NewStorageBackend creates and initializes a new Google Drive storage backend.
|
// NewStorageBackend creates and initializes a new Google Drive storage backend.
|
||||||
func NewStorageBackend(opts Config, logFunc storage.Log) (storage.Backend, error) {
|
func NewStorageBackend(opts Config, logFunc storage.Log) (storage.Backend, error) {
|
||||||
ctx := context.Background()
|
ctx := context.Background()
|
||||||
b, err := os.ReadFile(opts.CredentialsJSON)
|
b, err := os.ReadFile(opts.CredentialsJSON)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, errwrap.Wrap(err, "unable to read credentials")
|
return nil, errwrap.Wrap(err, "unable to read credentials")
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue