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-dms3
Commits
e701459e
Unverified
Commit
e701459e
authored
Apr 20, 2018
by
Whyrusleeping
Committed by
GitHub
Apr 20, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #4933 from maxkerp/patch-2
Fix typo in error message
parents
651d5ff3
aec17138
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
repo/fsrepo/fsrepo.go
repo/fsrepo/fsrepo.go
+1
-1
No files found.
repo/fsrepo/fsrepo.go
View file @
e701459e
...
@@ -398,7 +398,7 @@ func (r *FSRepo) openDatastore() error {
...
@@ -398,7 +398,7 @@ func (r *FSRepo) openDatastore() error {
if
r
.
config
.
Datastore
.
Type
!=
""
||
r
.
config
.
Datastore
.
Path
!=
""
{
if
r
.
config
.
Datastore
.
Type
!=
""
||
r
.
config
.
Datastore
.
Path
!=
""
{
return
fmt
.
Errorf
(
"old style datatstore config detected"
)
return
fmt
.
Errorf
(
"old style datatstore config detected"
)
}
else
if
r
.
config
.
Datastore
.
Spec
==
nil
{
}
else
if
r
.
config
.
Datastore
.
Spec
==
nil
{
return
fmt
.
Errorf
(
"required Datastore.Spec entry missing f
o
rm config file"
)
return
fmt
.
Errorf
(
"required Datastore.Spec entry missing fr
o
m config file"
)
}
}
dsc
,
err
:=
AnyDatastoreConfig
(
r
.
config
.
Datastore
.
Spec
)
dsc
,
err
:=
AnyDatastoreConfig
(
r
.
config
.
Datastore
.
Spec
)
...
...
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