Skip to content

Commit

Permalink
Merge pull request #292 from vshn/fix/empty_sample
Browse files Browse the repository at this point in the history
Fix vshn appcat reporting time frame
  • Loading branch information
TheBigLee authored Dec 29, 2023
2 parents 909aaef + f08fac4 commit 124a1dd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion component/component/billing.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ local backfillCJ = function(name, query, sla, type)
env+: commonEnv + jobEnv,
command: [ 'sh', '-c' ],
args: [
'appuio-reporting report --timerange 1h --begin=$(date -d "now -3 hours" -u +"%Y-%m-%dT%H:00:00Z") --repeat-until=$(date -u -Iseconds)',
'appuio-reporting report --timerange 1h --begin=$(date -d "now -3 hours" -u +"%Y-%m-%dT%H:00:00Z") --repeat-until=$(date -u +"%Y-%m-%dT%H:00:00Z)',
],
resources: {},
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ spec:
containers:
- args:
- appuio-reporting report --timerange 1h --begin=$(date -d "now -3
hours" -u +"%Y-%m-%dT%H:00:00Z") --repeat-until=$(date -u -Iseconds)
hours" -u +"%Y-%m-%dT%H:00:00Z") --repeat-until=$(date -u +"%Y-%m-%dT%H:00:00Z)
command:
- sh
- -c
Expand Down Expand Up @@ -119,7 +119,7 @@ spec:
containers:
- args:
- appuio-reporting report --timerange 1h --begin=$(date -d "now -3
hours" -u +"%Y-%m-%dT%H:00:00Z") --repeat-until=$(date -u -Iseconds)
hours" -u +"%Y-%m-%dT%H:00:00Z") --repeat-until=$(date -u +"%Y-%m-%dT%H:00:00Z)
command:
- sh
- -c
Expand Down Expand Up @@ -206,7 +206,7 @@ spec:
containers:
- args:
- appuio-reporting report --timerange 1h --begin=$(date -d "now -3
hours" -u +"%Y-%m-%dT%H:00:00Z") --repeat-until=$(date -u -Iseconds)
hours" -u +"%Y-%m-%dT%H:00:00Z") --repeat-until=$(date -u +"%Y-%m-%dT%H:00:00Z)
command:
- sh
- -c
Expand Down Expand Up @@ -293,7 +293,7 @@ spec:
containers:
- args:
- appuio-reporting report --timerange 1h --begin=$(date -d "now -3
hours" -u +"%Y-%m-%dT%H:00:00Z") --repeat-until=$(date -u -Iseconds)
hours" -u +"%Y-%m-%dT%H:00:00Z") --repeat-until=$(date -u +"%Y-%m-%dT%H:00:00Z)
command:
- sh
- -c
Expand Down Expand Up @@ -380,7 +380,7 @@ spec:
containers:
- args:
- appuio-reporting report --timerange 1h --begin=$(date -d "now -3
hours" -u +"%Y-%m-%dT%H:00:00Z") --repeat-until=$(date -u -Iseconds)
hours" -u +"%Y-%m-%dT%H:00:00Z") --repeat-until=$(date -u +"%Y-%m-%dT%H:00:00Z)
command:
- sh
- -c
Expand Down Expand Up @@ -467,7 +467,7 @@ spec:
containers:
- args:
- appuio-reporting report --timerange 1h --begin=$(date -d "now -3
hours" -u +"%Y-%m-%dT%H:00:00Z") --repeat-until=$(date -u -Iseconds)
hours" -u +"%Y-%m-%dT%H:00:00Z") --repeat-until=$(date -u +"%Y-%m-%dT%H:00:00Z)
command:
- sh
- -c
Expand Down

0 comments on commit 124a1dd

Please sign in to comment.