Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Martin Dinov
POD
Commits
ebf30fcd
Unverified
Commit
ebf30fcd
authored
4 years ago
by
Vasili Novikov
Browse files
Options
Download
Email Patches
Plain Diff
Style fixes
parent
5a78aa2e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Dockerfile
+1
-1
Dockerfile
src/internal_api.rs
+5
-7
src/internal_api.rs
with
6 additions
and
8 deletions
+6
-8
Dockerfile
+
1
-
1
View file @
ebf30fcd
...
...
@@ -38,7 +38,7 @@ COPY --from=cargo-build /usr/src/pod/pod pod
RUN
apt-get update
&&
apt-get
install
-y
libsqlcipher-dev
&&
rm
-rf
/var/lib/apt/lists/
*
# Check that library versions match (sqlcipher, libc, etc)
RUN
./pod
--version
RUN
./pod
--version
1>/dev/null 2>&1
EXPOSE
3030
CMD
["./pod"]
This diff is collapsed.
Click to expand it.
src/internal_api.rs
+
5
-
7
View file @
ebf30fcd
...
...
@@ -515,13 +515,11 @@ pub fn run_indexers(sqlite: &Pool<SqliteConnectionManager>, uid: i64) -> Result<
.args
(
&
[
"memri-indexers:latest"
])
.spawn
()
.expect
(
"Failed to run indexer"
);
Ok
(())
}
None
=>
{
return
Err
(
Error
{
code
:
StatusCode
::
BAD_REQUEST
,
msg
:
format!
(
"Failed to get item {}"
,
uid
),
})
}
None
=>
Err
(
Error
{
code
:
StatusCode
::
BAD_REQUEST
,
msg
:
format!
(
"Failed to get item {}"
,
uid
),
}),
}
Ok
(())
}
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets