Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ophélie Gagnard
slapos.core
Commits
c08d96b2
Commit
c08d96b2
authored
Feb 02, 2022
by
Ophélie Gagnard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos_metadata_transform_agent: return if reach end flag
parent
85d8329a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
master/bt5/slapos_metadata_transform_agent/PathTemplateItem/portal_callables/Metadata_convertDataStreamToArray.py
...tem/portal_callables/Metadata_convertDataStreamToArray.py
+4
-0
master/bt5/slapos_metadata_transform_agent/PathTemplateItem/portal_callables/Metadata_convertDataStreamToArray.xml
...em/portal_callables/Metadata_convertDataStreamToArray.xml
+2
-2
No files found.
master/bt5/slapos_metadata_transform_agent/PathTemplateItem/portal_callables/Metadata_convertDataStreamToArray.py
View file @
c08d96b2
...
@@ -147,6 +147,10 @@ if len(uid_ndarray) > 0:
...
@@ -147,6 +147,10 @@ if len(uid_ndarray) > 0:
if
end
>
start
:
if
end
>
start
:
progress_indicator
.
setIntOffsetIndex
(
end
)
progress_indicator
.
setIntOffsetIndex
(
end
)
if
is_end_of_scan
:
out_data_array
.
convertFile
()
return
# tell caller to create new activity after processing
# tell caller to create new activity after processing
# if we did not reach end of stream
# if we did not reach end of stream
if
end
<
in_data_stream
.
getSize
():
if
end
<
in_data_stream
.
getSize
():
...
...
master/bt5/slapos_metadata_transform_agent/PathTemplateItem/portal_callables/Metadata_convertDataStreamToArray.xml
View file @
c08d96b2
...
@@ -149,7 +149,7 @@
...
@@ -149,7 +149,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
997.591
08.37105.43946
</string>
</value>
<value>
<string>
997.591
30.8151.19302
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -167,7 +167,7 @@
...
@@ -167,7 +167,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
1643
728927.46
</float>
<float>
1643
806809.71
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
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