Skip to content

Commit 3c44c22

Browse files
committed
comments
1 parent 86f1935 commit 3c44c22

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

cmd/gcp/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ func main() {
8383
}
8484
cpSigner, err := sctfe.NewCpSigner(signer, *origin, timeSource)
8585
if err != nil {
86-
klog.Exitf("Failed to create checkpoint Signer: %v", err)
86+
klog.Exitf("Failed to create checkpoint signer: %v", err)
8787
}
8888

8989
storage, err := newGCPStorage(ctx, cpSigner)

config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ func ValidateLogConfig(origin string, rootsPemFile string, rejectExpired bool, r
7979

8080
// Validate the time interval.
8181
if notAfterStart != nil && notAfterLimit != nil && (notAfterLimit).Before(*notAfterStart) {
82-
return nil, fmt.Errorf("not_after limit %q before start %q", notAfterLimit.Format(time.RFC3339), notAfterStart.Format(time.RFC3339))
82+
return nil, fmt.Errorf("'Not After' limit %q before start %q", notAfterLimit.Format(time.RFC3339), notAfterStart.Format(time.RFC3339))
8383
}
8484

8585
validationOpts := CertValidationOpts{

handlers_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ func TestAddChain(t *testing.T) {
400400
}
401401
// TODO(phboneff): check that the index is in the SCT
402402
// TODO(phboneff): add a test with a not after range
403-
// TODO(phbpneff): add a test with a start date only
403+
// TODO(phboneff): add a test with a start date only
404404
}
405405
})
406406
}
@@ -447,7 +447,7 @@ func TestAddPrechain(t *testing.T) {
447447
// TODO(phboneff): add a test with an intermediate
448448
// TODO(phboneff): add a test with a pre-issuer intermediate cert
449449
// TODO(phboneff): add a test with a not after range
450-
// TODO(phbpneff): add a test with a start date only
450+
// TODO(phboneff): add a test with a start date only
451451
}
452452

453453
signer, err := setupSigner(fakeSignature)

0 commit comments

Comments
 (0)