Skip to content

Commit

Permalink
update comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Po-Yao Chen committed Nov 7, 2024
1 parent 5af04b2 commit e09efc5
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions utils/cert_reload.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,7 @@ import (
const defaultMemPollInterval = 60 * time.Minute

// MemCertReloader reloads the (key, cert) pair by invoking the callback functions
// certGetter and keyGetter. The GetCertificate method of this object
// should be assigned to the GetCertificate member of the TLS config.
// This is only intended for use cases where we expect to load sensitive
// information directly from CKMS.
// getter.
type MemCertReloader struct {
mu sync.RWMutex
getter func() ([]byte, []byte, error)
Expand Down

0 comments on commit e09efc5

Please sign in to comment.