'lazy_load_last_used_hours_ago' function was never called (always 'nil') hence when it was referenced in 'lazy_load_last_used_days_ago' function this was giving an error if it had a non-nil value. This fix calls the function if it is previously nil.
Issues Resolved
List any existing issues this PR resolves, or any Discourse or StackOverflow discussion that's relevant
Check List
Please fill box or appropriate ([x]) or mark N/A.
[ ] New functionality includes integration tests/controls
[ ] New Terraform resources
[ ] Documentation provided or updated for resources
Signed-off-by: Rohit Joshi rohit.prasad.joshi@sap.com
Description
'lazy_load_last_used_hours_ago' function was never called (always 'nil') hence when it was referenced in 'lazy_load_last_used_days_ago' function this was giving an error if it had a non-nil value. This fix calls the function if it is previously nil.
Issues Resolved
List any existing issues this PR resolves, or any Discourse or StackOverflow discussion that's relevant
Check List
Please fill box or appropriate ([x]) or mark N/A.
rake lint
passes