mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-26 21:17:23 +00:00
Merge pull request #4608 from yujuhong/fixgomt
Run gofmt for hash.go to fix formatting errors
This commit is contained in:
commit
f6ab47cc2e
@ -26,6 +26,6 @@ import (
|
|||||||
// which follows pointers and prints actual values of the nested objects
|
// which follows pointers and prints actual values of the nested objects
|
||||||
// ensuring the hash does not change when a pointer changes.
|
// ensuring the hash does not change when a pointer changes.
|
||||||
func DeepHashObject(hasher hash.Hash, objectToWrite interface{}) {
|
func DeepHashObject(hasher hash.Hash, objectToWrite interface{}) {
|
||||||
printer := spew.ConfigState{Indent: " ", SortKeys: true}
|
printer := spew.ConfigState{Indent: " ", SortKeys: true}
|
||||||
printer.Fprintf(hasher, "%#v", objectToWrite)
|
printer.Fprintf(hasher, "%#v", objectToWrite)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user