Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Matheus Melo
stream_kubejobs
Commits
02cf3d43
Commit
02cf3d43
authored
Apr 09, 2020
by
Ignacio
Browse files
correcting errors
parent
8d2a7bd2
Changes
1
Hide whitespace changes
Inline
Side-by-side
stream_kubejobs/__init__.py
View file @
02cf3d43
...
...
@@ -152,8 +152,8 @@ class KubeJobStreamProgress(Plugin):
timestamp
=
time
.
time
()
*
1000
job_result_key
=
"job:results"
last_item_key
=
self
.
rds
.
lrange
(
job_result_key
,
-
1
,
-
1
)
self
.
LOG
.
log
(
last_item_key
)
self
.
LOG
.
log
(
"C
OLLECT_PERIOD
="
+
str
(
self
.
collect_period
))
self
.
LOG
.
log
(
"Last item key = "
+
str
(
last_item_key
)
)
self
.
LOG
.
log
(
"C
ollect period
="
+
str
(
self
.
collect_period
))
if
(
not
last_item_key
):
...
...
@@ -189,7 +189,6 @@ class KubeJobStreamProgress(Plugin):
self
.
LOG
.
log
(
"Tracked items : %s"
%
(
tracked_items
))
self
.
LOG
.
log
(
"Input Flux : %s"
%
(
input_lux
))
self
.
LOG
.
log
(
"Output Flux : %s"
%
(
output_flux
))
self
.
LOG
.
log
(
"========================"
)
application_progress_error
=
\
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment