Unverified Commit ebf30fcd authored by Vasili Novikov's avatar Vasili Novikov
Browse files

Style fixes

parent 5a78aa2e
Showing with 6 additions and 8 deletions
+6 -8
......@@ -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"]
......@@ -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(())
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment