fix: Update hoursBack default value to 1 in fetchResourceList options

This commit is contained in:
Nawaz Dhandala
2026-03-18 19:56:30 +00:00
parent 758aab5f17
commit 7cc6e81fe6

View File

@@ -37,7 +37,7 @@ export default class KubernetesResourceUtils {
namespaceAttribute = "resource.k8s.namespace.name",
additionalAttributes = [],
filterAttributes = {},
hoursBack = 24,
hoursBack = 1,
} = options;
const endDate: Date = OneUptimeDate.getCurrentDate();