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
OSUG
RESIF
resif_data_reporter
Commits
a2e5859a
Commit
a2e5859a
authored
Aug 10, 2020
by
Jonathan Schaeffer
Browse files
Add volume name to stats
parent
c70a6e8a
Changes
1
Show whitespace changes
Inline
Side-by-side
resifdatareporter/resifdatareporter.py
View file @
a2e5859a
...
...
@@ -67,6 +67,9 @@ def scan_volumes(volumes):
if
'type'
in
volume
:
for
s
in
stats
:
s
[
'type'
]
=
volume
[
'type'
]
if
'name'
in
volume
:
for
s
in
stats
:
s
[
'volume'
]
=
volume
[
'name'
]
volume_stats
.
append
(
stats
)
# If a type of data was specified, then we add this tag to the stats
else
:
...
...
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