Skip to content

Commit

Permalink
Remove unnecessary space after 'with index:' (#656)
Browse files Browse the repository at this point in the history
Signed-off-by: Jason Hall <jasonhall@redhat.com>
  • Loading branch information
imjasonh authored Sep 13, 2021
1 parent 3f83940 commit 696a46a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion FUN.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ $ COSIGN_EXPERIMENTAL=1 ./cosign sign-blob -key cosign.key <(git rev-parse HEAD)
Using payload from: /dev/fd/63
Enter password for private key:
MEYCIQDWX6RjU0Z2ynd1CdiAwo/JaC2Z5+vdx8H5spuDNu/r5wIhAPnP+87+knFEwbE8FgeXCrgkjWal3aBsNR3IVaBDT2XU
tlog entry created with index: 1224
tlog entry created with index: 1224
```

Now find it from the log:
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ Creating Tekton Bundle:
Pushed Tekton Bundle to us.gcr.io/dlorenc-vmtest2/pipeline@sha256:124e1fdee94fe5c5f902bc94da2d6e2fea243934c74e76c2368acdc8d3ac7155
$ cosign sign -key cosign.key us.gcr.io/dlorenc-vmtest2/pipeline:latest
Enter password for private key:
tlog entry created with index: 5086
tlog entry created with index: 5086
Pushing signature to: us.gcr.io/dlorenc-vmtest2/demo:sha256-124e1fdee94fe5c5f902bc94da2d6e2fea243934c74e76c2368acdc8d3ac7155.sig
```

Expand All @@ -279,7 +279,7 @@ Cosign can upload these using the `cosign wasm upload` command:
$ cosign upload wasm -f hello.wasm us.gcr.io/dlorenc-vmtest2/wasm
$ cosign sign -key cosign.key us.gcr.io/dlorenc-vmtest2/wasm
Enter password for private key:
tlog entry created with index: 5198
tlog entry created with index: 5198
Pushing signature to: us.gcr.io/dlorenc-vmtest2/wasm:sha256-9e7a511fb3130ee4641baf1adc0400bed674d4afc3f1b81bb581c3c8f613f812.sig
```

Expand Down
2 changes: 1 addition & 1 deletion cmd/cosign/cli/attest.go
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ func AttestCmd(ctx context.Context, ko KeyOpts, imageRef string, certPath string
if err != nil {
return err
}
fmt.Fprintln(os.Stderr, "tlog entry created with index: ", *entry.LogIndex)
fmt.Fprintln(os.Stderr, "tlog entry created with index:", *entry.LogIndex)

uo.Bundle = bundle(entry)
uo.AdditionalAnnotations = parseAnnotations(entry)
Expand Down
2 changes: 1 addition & 1 deletion cmd/cosign/cli/sign.go
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ func SignCmd(ctx context.Context, ko KeyOpts, annotations map[string]interface{}
if err != nil {
return err
}
fmt.Fprintln(os.Stderr, "tlog entry created with index: ", *entry.LogIndex)
fmt.Fprintln(os.Stderr, "tlog entry created with index:", *entry.LogIndex)

uo.Bundle = bundle(entry)
uo.AdditionalAnnotations = parseAnnotations(entry)
Expand Down

0 comments on commit 696a46a

Please sign in to comment.