Skip to content

Commit

Permalink
Fix incorrect error about 'ca'
Browse files Browse the repository at this point in the history
  • Loading branch information
vsliouniaev committed May 20, 2020
1 parent c80b04e commit 5f9068b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/k8s/k8s.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ func (k8s *k8s) GetCaFromSecret(secretName string, namespace string) []byte {

data := secret.Data["ca"]
if data == nil {
log.Fatal("got secret, but it did not contain a 'cert' key")
log.Fatal("got secret, but it did not contain a 'ca' key")
}
log.Debug("got secret")
return data
Expand Down

0 comments on commit 5f9068b

Please sign in to comment.