Skip to content

Commit 68ca5b7

Browse files
authored
Fix typos (hyperledger#5097)
Signed-off-by: chloefeal <[email protected]>
1 parent ebbf1ec commit 68ca5b7

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

ccaas_builder/cmd/build/main_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import (
1818
"github.com/onsi/gomega/gexec"
1919
)
2020

21-
func TestArguements(t *testing.T) {
21+
func TestArguments(t *testing.T) {
2222

2323
testCases := map[string]struct {
2424
exitCode int
@@ -167,7 +167,7 @@ func TestTemplating(t *testing.T) {
167167
_, err = os.Stat(chkfile)
168168
gt.Expect(err).NotTo(HaveOccurred())
169169

170-
// check that the file has the exepected contents
170+
// check that the file has the expected contents
171171
connectionFileContents, err := os.ReadFile(chkfile)
172172
gt.Expect(err).NotTo(HaveOccurred())
173173

core/ledger/kvledger/ledger_filepath.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ func BookkeeperDBPath(rootFSPath string) string {
5050
return filepath.Join(rootFSPath, "bookkeeper")
5151
}
5252

53-
// SnapshotsTempDirPath returns the dir path that is used temporarily during the genration or import of the snapshots for a ledger
53+
// SnapshotsTempDirPath returns the dir path that is used temporarily during the generation or import of the snapshots for a ledger
5454
func SnapshotsTempDirPath(snapshotRootDir string) string {
5555
return filepath.Join(snapshotRootDir, "temp")
5656
}

docs/source/write_first_app.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ override gRPC option is specified to force this endpoint address to be interpret
316316
func newGrpcConnection() *grpc.ClientConn {
317317
certificatePEM, err := os.ReadFile(tlsCertPath)
318318
if err != nil {
319-
panic(fmt.Errorf("failed to read TLS certifcate file: %w", err))
319+
panic(fmt.Errorf("failed to read TLS certificate file: %w", err))
320320
}
321321
322322
certificate, err := identity.CertificateFromPEM(certificatePEM)

0 commit comments

Comments
 (0)