Skip to content

Commit ab17df0

Browse files
bryantbiggsmxpv
authored andcommitted
chore: Fix whitespace
1 parent 303b2e3 commit ab17df0

File tree

10 files changed

+20
-21
lines changed

10 files changed

+20
-21
lines changed

.github/workflows/ci.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ jobs:
3030

3131
- run: cargo clippy --all-targets -- -D warnings
3232
- run: cargo clippy --all-targets --all-features -- -D warnings
33-
34-
# the shim has sync code that is not covered when running with --all-features
33+
34+
# the shim has sync code that is not covered when running with --all-features
3535
- run: cargo clippy -p containerd-shim --all-targets -- -D warnings
3636

3737
- run: cargo doc --no-deps --features docs
@@ -49,10 +49,10 @@ jobs:
4949
- run: ./scripts/install-protobuf.sh
5050
shell: bash
5151
- run: cargo check --examples --tests -p containerd-shim -p containerd-shim-protos -p containerd-client
52-
52+
5353
- run: rustup toolchain install nightly --component rustfmt
5454
- run: cargo +nightly fmt -p containerd-shim -p containerd-shim-protos -p containerd-client -- --check --files-with-diff
55-
55+
5656
- run: cargo clippy -p containerd-shim -p containerd-shim-protos -- -D warnings
5757
- run: cargo doc --no-deps -p containerd-shim -p containerd-shim-protos -p containerd-client
5858
env:
@@ -76,8 +76,8 @@ jobs:
7676
mkdir -p /tmp/dummy-xdr
7777
sudo -E $(command -v cargo) test
7878
sudo -E $(command -v cargo) test --all-features
79-
80-
# the shim has sync code that is not covered when running with --all-features
79+
80+
# the shim has sync code that is not covered when running with --all-features
8181
sudo -E $(command -v cargo) test -p containerd-shim
8282
if: ${{ !contains(matrix.os, 'windows') }}
8383
env:
@@ -171,7 +171,7 @@ jobs:
171171
run: |
172172
sudo -E PATH=$PATH make integration
173173
working-directory: src/github.com/containerd/containerd
174-
174+
175175
windows-integration:
176176
name: Windows Integration
177177
runs-on: ${{ matrix.os }}
@@ -217,11 +217,11 @@ jobs:
217217
$ErrorActionPreference = "Stop"
218218
219219
get-service containerd
220-
$env:TTRPC_ADDRESS="\\.\pipe\containerd-containerd.ttrpc"
220+
$env:TTRPC_ADDRESS="\\.\pipe\containerd-containerd.ttrpc"
221221
222-
# run the example
223-
cargo run -p containerd-shim --example skeleton -- -namespace default -id 1234 -address "\\.\pipe\containerd-containerd" -publish-binary ./bin/containerd start
224-
ps skeleton
222+
# run the example
223+
cargo run -p containerd-shim --example skeleton -- -namespace default -id 1234 -address "\\.\pipe\containerd-containerd" -publish-binary ./bin/containerd start
224+
ps skeleton
225225
cargo run -p containerd-shim-protos --example shim-proto-connect \\.\pipe\containerd-shim-17630016127144989388-pipe
226226
$skeleton = get-process skeleton -ErrorAction SilentlyContinue
227227
if ($skeleton) { exit 1 }

.github/workflows/publish.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,4 +68,3 @@ jobs:
6868
run: |
6969
git tag $TAG
7070
git push origin $TAG
71-

crates/client/examples/container_spec.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,4 +155,4 @@
155155
"/proc/sysrq-trigger"
156156
]
157157
}
158-
}
158+
}

crates/client/vendor/github.com/containerd/containerd/api/services/introspection/v1/introspection.proto

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/runc-shim/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,4 +45,4 @@ tokio = { workspace = true, features = ["full"] }
4545

4646
[target.'cfg(target_os = "linux")'.dependencies]
4747
cgroups-rs.workspace = true
48-
nix = { workspace = true, features = ["event"] }
48+
nix = { workspace = true, features = ["event"] }

crates/runc-shim/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,4 @@ In addition, we also run 100 pods and collect the total memory overhead.
4242
| :----------------------------------------------------------- | :----------------- | :---------------- |
4343
| containerd-shim-runc-v2 | 11.02MB | 1106.52MB |
4444
| containerd-shim-runc-v2-rs(sync) | 3.45MB | 345.39MB |
45-
| containerd-shim-runc-v2-rs(async, limited to 2 work threads) | 3.90MB | 396.83MB |
45+
| containerd-shim-runc-v2-rs(async, limited to 2 work threads) | 3.90MB | 396.83MB |

crates/runc/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
[![Crates.io](https://img.shields.io/crates/l/containerd-shim)](https://github.com/containerd/rust-extensions/blob/main/LICENSE)
66
[![CI](https://github.com/containerd/rust-extensions/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/containerd/rust-extensions/actions/workflows/ci.yml)
77

8-
A crate for consuming the runc binary in your Rust applications, similar to [go-runc](https://github.com/containerd/go-runc) for Go.
8+
A crate for consuming the runc binary in your Rust applications, similar to [go-runc](https://github.com/containerd/go-runc) for Go.
99
This crate is based on archived [rust-runc](https://github.com/pwFoo/rust-runc).
1010

1111
## Usage
@@ -29,7 +29,7 @@ async fn main() {
2929
let opts = runc::options::CreateOpts::new()
3030
.pid_file("/path/to/pid/file")
3131
.no_pivot(true);
32-
32+
3333
client.create("container-id", "path/to/bundle", Some(&opts)).unwrap();
3434
}
3535
```

crates/shim-protos/vendor/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ Proto files are copy-pasted directly from upstream repos:
77
+ https://github.com/protocolbuffers/protobuf
88
+ https://github.com/gogo/protobuf
99
+ https://github.com/containerd/cgroups
10-
+ https://github.com/microsoft/hcsshim
10+
+ https://github.com/microsoft/hcsshim

crates/shim-protos/vendor/github.com/containerd/cgroups/stats/v1/metrics.proto

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/snapshots/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,4 +87,4 @@ Server::builder()
8787
.serve_with_incoming(incoming)
8888
.await
8989
.expect("Serve failed");
90-
```
90+
```

0 commit comments

Comments
 (0)