Skip to content

Commit 2991a6b

Browse files
authored
reduce resourceLog.blockDepth on Exit method (#56)
Issue #, if available: aws-controllers-k8s/community#1001 Description of changes: * reducing blockDepth on Exit method * Tested locally that it fixes resourceLogger By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
1 parent 4a3d4c7 commit 2991a6b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/runtime/log/resource.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ func (rl *ResourceLogger) Exit(
8787
}
8888
vals := expandResourceFields(rl.res, additionalValues...)
8989
rl.log.V(1).Info(msg, vals...)
90+
rl.blockDepth--
9091
}
9192
}
9293

0 commit comments

Comments
 (0)