Skip to content

Commit

Permalink
fix: migration tool will migrate workloads (#320)
Browse files Browse the repository at this point in the history
Co-authored-by: anrs <[email protected]>
  • Loading branch information
anrs and anrs authored Jan 18, 2021
1 parent a32f71c commit 4f1307e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/meta_transfer_as_rename2workload.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ def _trans_deploy(self, deploy_key, orig_value):
if not self._belong_pod(nodename):
return

self.workloads.update(wrk_id)
self.workloads.update({wrk_id})

new_key = os.path.join(self.meta.new_root_prefix, self.deploy_prefix, appname, entrypoint, nodename, wrk_id)
wrk = self.conv(orig_value, self.node_transfer)
Expand Down

0 comments on commit 4f1307e

Please sign in to comment.