From ae1b7ac4fd8e4b5707b90b14bbf28b1159ff07c0 Mon Sep 17 00:00:00 2001 From: zhoulin xie Date: Thu, 17 Jan 2019 15:50:46 +0800 Subject: [PATCH] Fix some typos in comment Signed-off-by: zhoulin xie --- pkg/server/streaming.go | 2 +- pkg/store/snapshot/snapshot.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/server/streaming.go b/pkg/server/streaming.go index 0ed948617..2ec366366 100644 --- a/pkg/server/streaming.go +++ b/pkg/server/streaming.go @@ -176,7 +176,7 @@ func handleResizing(resize <-chan remotecommand.TerminalSize, resizeFunc func(si // newTLSCert returns a self CA signed tls.certificate. // TODO (mikebrow): replace / rewrite this function to support using CA -// signing of the cetificate. Requires a security plan for kubernetes regarding +// signing of the certificate. Requires a security plan for kubernetes regarding // CRI connections / streaming, etc. For example, kubernetes could configure or // require a CA service and pass a configuration down through CRI. func newTLSCert() (tls.Certificate, error) { diff --git a/pkg/store/snapshot/snapshot.go b/pkg/store/snapshot/snapshot.go index 1a01570e7..1bd3337ab 100644 --- a/pkg/store/snapshot/snapshot.go +++ b/pkg/store/snapshot/snapshot.go @@ -28,7 +28,7 @@ import ( type Snapshot struct { // Key is the key of the snapshot Key string - // Kind is the kind of the snapshot (active, commited, view) + // Kind is the kind of the snapshot (active, committed, view) Kind snapshot.Kind // Size is the size of the snapshot in bytes. Size uint64