mirror of https://github.com/perkeep/perkeep.git
Merge "remote: fix crash due to nil logger"
This commit is contained in:
commit
6ef671249b
|
@ -34,6 +34,8 @@ package remote
|
|||
|
||||
import (
|
||||
"io"
|
||||
"log"
|
||||
"os"
|
||||
|
||||
"camlistore.org/pkg/blob"
|
||||
"camlistore.org/pkg/blobserver"
|
||||
|
@ -68,6 +70,7 @@ func newFromConfig(_ blobserver.Loader, config jsonconfig.Obj) (storage blobserv
|
|||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
client.SetLogger(log.New(os.Stderr, "remote", log.LstdFlags))
|
||||
sto := &remoteStorage{
|
||||
client: client,
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue