Fix some typos in comment
Signed-off-by: zhoulin xie <zhoulin.xie@daocloud.io>
This commit is contained in:
parent
e98e307f3f
commit
ae1b7ac4fd
@ -176,7 +176,7 @@ func handleResizing(resize <-chan remotecommand.TerminalSize, resizeFunc func(si
|
|||||||
|
|
||||||
// newTLSCert returns a self CA signed tls.certificate.
|
// newTLSCert returns a self CA signed tls.certificate.
|
||||||
// TODO (mikebrow): replace / rewrite this function to support using CA
|
// 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
|
// CRI connections / streaming, etc. For example, kubernetes could configure or
|
||||||
// require a CA service and pass a configuration down through CRI.
|
// require a CA service and pass a configuration down through CRI.
|
||||||
func newTLSCert() (tls.Certificate, error) {
|
func newTLSCert() (tls.Certificate, error) {
|
||||||
|
@ -28,7 +28,7 @@ import (
|
|||||||
type Snapshot struct {
|
type Snapshot struct {
|
||||||
// Key is the key of the snapshot
|
// Key is the key of the snapshot
|
||||||
Key string
|
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
|
Kind snapshot.Kind
|
||||||
// Size is the size of the snapshot in bytes.
|
// Size is the size of the snapshot in bytes.
|
||||||
Size uint64
|
Size uint64
|
||||||
|
Loading…
Reference in New Issue
Block a user