mirror of
https://github.com/kubernetes/kubectl.git
synced 2026-05-28 04:35:50 -04:00
mark remaining md5 usage TODO and exclude from lint
Kubernetes-commit: 797d3165191847b60dda3d8e6822e2854462a118
This commit is contained in:
parent
7d3bbdf96e
commit
495c59a507
1 changed files with 3 additions and 0 deletions
|
|
@ -47,6 +47,9 @@ func HashObject(obj runtime.Object, codec runtime.Codec) (string, error) {
|
|||
if err != nil {
|
||||
return "", err
|
||||
}
|
||||
// TODO: finish removing existing md5 usage
|
||||
// https://github.com/kubernetes/kubernetes/issues/129652
|
||||
//nolint:forbidigo
|
||||
return fmt.Sprintf("%x", md5.Sum(data)), nil
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue