resources: Reduce logging on Send/Recv

This was too noisy, let's tone it down a bit.
This commit is contained in:
James Shubin
2016-12-03 01:44:36 -05:00
parent 2e718c0e9d
commit 639afe881c

View File

@@ -118,9 +118,9 @@ type Send struct {
// SendRecv pulls in the sent values into the receive slots. It is called by the // SendRecv pulls in the sent values into the receive slots. It is called by the
// receiver and must be given as input the full resource struct to receive on. // receiver and must be given as input the full resource struct to receive on.
func (obj *BaseRes) SendRecv(res Res) (bool, error) { func (obj *BaseRes) SendRecv(res Res) (bool, error) {
log.Printf("%s[%s]: SendRecv...", obj.Kind(), obj.GetName())
if global.DEBUG { if global.DEBUG {
log.Printf("%s[%s]: SendRecv: Debug: %+v", obj.Kind(), obj.GetName(), obj.Recv) // NOTE: this could expose private resource data like passwords
log.Printf("%s[%s]: SendRecv: %+v", obj.Kind(), obj.GetName(), obj.Recv)
} }
var changed bool // did we update a value? var changed bool // did we update a value?
var err error var err error