Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
dms3
go-blockservice
Commits
29a24c8b
Commit
29a24c8b
authored
Sep 20, 2014
by
Juan Batiz-Benet
Committed by
Brian Tiger Chow
Sep 22, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
this warning should only print out on debug
(perhaps should be logged instead)
parent
c5ebe0fb
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
blockservice.go
blockservice.go
+1
-1
No files found.
blockservice.go
View file @
29a24c8b
...
@@ -26,7 +26,7 @@ func NewBlockService(d ds.Datastore, rem exchange.Interface) (*BlockService, err
...
@@ -26,7 +26,7 @@ func NewBlockService(d ds.Datastore, rem exchange.Interface) (*BlockService, err
return
nil
,
fmt
.
Errorf
(
"BlockService requires valid datastore"
)
return
nil
,
fmt
.
Errorf
(
"BlockService requires valid datastore"
)
}
}
if
rem
==
nil
{
if
rem
==
nil
{
u
.
P
Err
(
"Caution: blockservice running in local (offline) mode.
\n
"
)
u
.
D
Err
(
"Caution: blockservice running in local (offline) mode.
\n
"
)
}
}
return
&
BlockService
{
Datastore
:
d
,
Remote
:
rem
},
nil
return
&
BlockService
{
Datastore
:
d
,
Remote
:
rem
},
nil
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment