Skip to content

Commit

Permalink
bugfix: 编辑proxy密码报错系统错误 (fixed #355)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangzhw8 committed Dec 16, 2021
1 parent 9d9de01 commit be553c1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/node_man/serializers/host.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,9 @@ def validate(self, attrs):
if field_need_encrypt not in attrs:
continue
attrs[field_need_encrypt] = tools.HostTools.decrypt_with_friendly_exc_handle(
rsa_util=rsa_util, encrypt_message=attrs[fields_need_encrypt], raise_exec=ValidationError
rsa_util=rsa_util, encrypt_message=attrs[field_need_encrypt], raise_exec=ValidationError
)
return attrs


class RemoveSerializer(serializers.Serializer):
Expand Down
3 changes: 3 additions & 0 deletions dev_log/2.1.360/durant_202112151606.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
bugfix:
- "编辑proxy密码报错系统错误 (fixed #355)"

0 comments on commit be553c1

Please sign in to comment.