diff --git a/scripts/meta_transfer_as_rename2workload.py b/scripts/meta_transfer_as_rename2workload.py index b48b97a4c..8a56ab7fb 100644 --- a/scripts/meta_transfer_as_rename2workload.py +++ b/scripts/meta_transfer_as_rename2workload.py @@ -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)