Commit d7b71519 authored by Jason O'Donnell's avatar Jason O'Donnell
Browse files

Remove chan from interface

parent 76d2c6b5
Branches unavailable
No related merge requests found
Showing with 2 additions and 2 deletions
+2 -2
......@@ -12,7 +12,7 @@ type KeyManager interface {
GetKey() []byte
GetPersistentKey() []byte
Renewable() bool
Renewer(context.Context, chan struct{}) error
Renewer(context.Context) error
Encrypt(context.Context, []byte, []byte) ([]byte, error)
Decrypt(context.Context, []byte, []byte) ([]byte, error)
}
......@@ -70,7 +70,7 @@ func (k *KubeEncryptionKey) Renewable() bool {
// Renewer is used when the encryption key type is renewable. Since Kubernetes
// keys aren't renewable, returning nothing.
func (k *KubeEncryptionKey) Renewer(ctx context.Context, ch chan struct{}) error {
func (k *KubeEncryptionKey) Renewer(ctx context.Context) error {
return nil
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment