Skip to content

Commit

Permalink
Remove Docker container build since it fails without a Dockerfile, an…
Browse files Browse the repository at this point in the history
…d fix clippy error
  • Loading branch information
jhodapp committed Nov 10, 2023
1 parent 11b8f30 commit aaa944e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 13 deletions.
11 changes: 0 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,17 +36,6 @@ jobs:
- name: Test
run: cargo test

docker_build:
name: Docker build
runs-on: ubuntu-22.04

steps:
- name: Checkout
uses: actions/checkout@v3

- name: Build Docker image
run: docker build .

lint:
name: Lint
runs-on: ubuntu-22.04
Expand Down
4 changes: 2 additions & 2 deletions service/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ pub struct AppState {
}

impl AppState {
pub fn new(config: Config) -> Self {
pub fn new(app_config: Config) -> Self {
Self {
database_connection: None,
config: config,
config: app_config,
}
}
}

0 comments on commit aaa944e

Please sign in to comment.