Commit c08d96b2 authored by Ophélie Gagnard's avatar Ophélie Gagnard

slapos_metadata_transform_agent: return if reach end flag

parent 85d8329a
...@@ -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():
......
...@@ -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.59108.37105.43946</string> </value> <value> <string>997.59130.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>1643728927.46</float> <float>1643806809.71</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment