mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 19:31:44 +00:00
Run gofmt for hash.go to fix formatting errors
This commit is contained in:
parent
053dd7834e
commit
7379502cc9
@ -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