Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
dgraph
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mirror
dgraph
Commits
ac4e1de4
Unverified
Commit
ac4e1de4
authored
8 years ago
by
Pawan Rawal
Browse files
Options
Downloads
Patches
Plain Diff
Add filepath with error while initializing store
parent
c7718a99
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
contrib/releases/build.sh
+1
-1
1 addition, 1 deletion
contrib/releases/build.sh
store/store.go
+1
-1
1 addition, 1 deletion
store/store.go
with
2 additions
and
2 deletions
contrib/releases/build.sh
+
1
−
1
View file @
ac4e1de4
...
...
@@ -82,6 +82,6 @@ echo "$checksum /usr/local/share/icudt58l.dat" >> $checksum_file
echo
-e
"Calculating and storing checksum for tar gzipped assets."
cd
$cur_dir
tar
-zcf
assets.tar.gz
-C
$GOPATH
/src/github.com/dgraph-io/dgraph/dashboard/build
.
GZIP
=
-n
tar
-zcf
assets.tar.gz
-C
$GOPATH
/src/github.com/dgraph-io/dgraph/dashboard/build
.
checksum
=
$(
$digest_cmd
assets.tar.gz |
awk
'{print $1}'
)
echo
"
$checksum
/usr/local/share/dgraph/assets.tar.gz"
>>
$checksum_file
This diff is collapsed.
Click to expand it.
store/store.go
+
1
−
1
View file @
ac4e1de4
...
...
@@ -69,7 +69,7 @@ func NewSyncStore(filepath string) (*Store, error) {
s
.
wopt
.
SetSync
(
true
)
// Do synchronous writes.
var
err
error
s
.
db
,
err
=
rdb
.
OpenDb
(
s
.
opt
,
filepath
)
return
s
,
x
.
Wrap
(
err
)
return
s
,
x
.
Wrap
f
(
err
,
"Directory: %v"
,
filepath
)
}
// NewReadOnlyStore constructs a readonly Store object at filepath, given options.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment