Skip to content

Commit

Permalink
[DATALAD RUNCMD] Do interactive fixing of some ambigous typos
Browse files Browse the repository at this point in the history
=== Do not change lines below ===
{
 "chain": [],
 "cmd": "codespell -w -i 3 -C 2",
 "exit": 0,
 "extra_inputs": [],
 "inputs": [],
 "outputs": [],
 "pwd": "."
}
^^^ Do not change lines above ^^^

Signed-off-by: Yaroslav Halchenko <[email protected]>
  • Loading branch information
yarikoptic committed Dec 8, 2023
1 parent 498178b commit 0976a14
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions internal/manifest/oci_index_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -177,13 +177,13 @@ func TestOCI1IndexChooseInstanceByCompression(t *testing.T) {
{"amd64", "", "sha256:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb", false},
// out of multiple gzip in arm64 select the first one to ensure original logic is prevented
{"arm64", "", "sha256:cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", false},
// select a signle gzip s390x image
// select a single gzip s390x image
{"s390x", "", "sha256:eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee", false},
// out of gzip and zstd in amd64 select the first gzip image
{"amd64", "", "sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", true},
// out of multiple gzip in arm64 select the first one to ensure original logic is prevented
{"arm64", "", "sha256:cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", true},
// select a signle gzip s390x image
// select a single gzip s390x image
{"s390x", "", "sha256:eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee", true},
},
unmatchedInstances: []string{
Expand Down
2 changes: 1 addition & 1 deletion signature/simplesigning/signer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ func TestSimpleSignerSignImageManifest(t *testing.T) {

// Failures to sign need to be tested in two parts: First the failures that involve the wrong passphrase, then failures that
// should manifest even with a valid passphrase or unlocked key (because the GPG agent is caching unlocked keys).
// Alternatively, we could be caling gpgagent.KillGPGAgent() all the time...
// Alternatively, we could be calling gpgagent.KillGPGAgent() all the time...
type failingCase struct {
name string
opts []Option
Expand Down
2 changes: 1 addition & 1 deletion storage/storage_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ func makeLayerGoroutine(pwriter io.Writer, uncompressedCount *int64, compression
// We do not do that, to workaround https://github.com/containers/storage/issues/1729 :
// tar-split runs a goroutine that consumes/forwards tar content and might access
// concurrently-freed objects if it sees a valid EOF marker.
// Instead, realy on raw EOF to terminate the goroutine.
// Instead, really on raw EOF to terminate the goroutine.
// This depends on implementation details of tar.Writer (that it does not do any
// internal buffering).

Expand Down

0 comments on commit 0976a14

Please sign in to comment.