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
cd5ee96e
Commit
cd5ee96e
authored
May 27, 2020
by
Ignacio
Browse files
show
parent
dd1eb598
Changes
1
Hide whitespace changes
Inline
Side-by-side
stream_kubejobs/__init__.py
View file @
cd5ee96e
...
...
@@ -185,7 +185,8 @@ class KubeJobStreamProgress(Plugin):
pipe
=
self
.
rds
.
pipeline
()
pipe
.
get
(
'job:inserted_count'
)
pipe
.
get
(
'job:completed_count'
)
inserted_items
,
items_completed
=
pipe
.
execute
()
pipe
.
llen
(
"job"
)
inserted_items
,
items_completed
,
main_q_size
=
pipe
.
execute
()
inserted_items
=
int
(
inserted_items
)
if
inserted_items
!=
None
else
0
items_completed
=
int
(
items_completed
)
if
items_completed
!=
None
else
0
...
...
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