nanonyme commented on code in PR #19:
URL: https://github.com/apache/buildstream-plugins/pull/19#discussion_r934626590


##########
src/buildstream_plugins/sources/cargo.py:
##########
@@ -375,7 +375,7 @@ def get_ref(self):
 
     def set_ref(self, ref, node):
         node["ref"] = ref
-        self._recompute_crates(ref)
+        self._recompute_crates(node.get_sequence("ref"))

Review Comment:
   Why is this ncessary? Does ref change to somthing else after assign?



##########
src/buildstream_plugins/sources/cargo.py:
##########
@@ -375,7 +375,7 @@ def get_ref(self):
 
     def set_ref(self, ref, node):
         node["ref"] = ref
-        self._recompute_crates(ref)
+        self._recompute_crates(node.get_sequence("ref"))

Review Comment:
   Why is this necessary? Does ref change to somthing else after assign?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to