Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
truenas-rk3588
midcli
Commits
bcf3697d
Commit
bcf3697d
authored
3 years ago
by
themylogin
Browse files
Options
Download
Email Patches
Plain Diff
Fix job progress reporting
parent
cce61d4f
base
NAS-119204-23.10
master
rel-v0.0.1
release/22.12
release/22.12-BETA.1
release/22.12-BETA.2
release/22.12-RC.1
release/22.12.1
release/22.12.2
release/22.12.3
release/22.12.4
release/23.10-BETA.1
release/23.10-RC.1
release/23.10.0
release/23.10.1
release/23.10.1.2
release/23.10.1.3
release/23.10.2
release/24.04-BETA.1
release/24.04-RC.1
release/24.04.0
stable/bluefin
stable/cobia
stable/dragonfish
testing-refine-branchout-process
testing-refine-branchout-process2
TS-24.04-RC.1
TS-24.04-BETA.1
TS-23.10.2
TS-23.10.1.3
TS-23.10.1.2
TS-23.10.1.1
TS-23.10.1
TS-23.10.0.1
TS-23.10.0
TS-23.10-RC.1
TS-23.10-BETA.1
TS-22.12.4.2
TS-22.12.4.1
TS-22.12.4
TS-22.12.3.3
TS-22.12.3.2
TS-22.12.3.1
TS-22.12.3
TS-22.12.2
TS-22.12.1
TS-22.12.0
TS-22.12-RC.1
TS-22.12-BETA.2
TS-22.12-BETA.1
TS-22.12-ALPHA.1
TS-12.12.3
DN110M-CS-v2.0
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
midcli/command/call_mixin/__init__.py
+1
-1
midcli/command/call_mixin/__init__.py
with
1 addition
and
1 deletion
+1
-1
midcli/command/call_mixin/__init__.py
View file @
bcf3697d
...
...
@@ -79,7 +79,7 @@ class CallMixin(object):
return
None
def
_job_callback
(
self
,
job
):
text
=
f
"[
{
job
[
'progress'
][
'percent'
]
}
%]
{
job
[
'progress'
][
'description'
]
}
..."
text
=
f
"[
{
int
(
job
[
'progress'
][
'percent'
]
or
0
)
}
%]
{
job
[
'progress'
][
'description'
]
}
..."
if
text
!=
self
.
job_last_printed_description
:
print
(
text
)
...
...
This diff is collapsed.
Click to expand it.
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
Menu
Projects
Groups
Snippets
Help