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