Skip to content
This repository has been archived by the owner on May 27, 2024. It is now read-only.

Commit

Permalink
fix(UDP):fixed the UDP group
Browse files Browse the repository at this point in the history
  • Loading branch information
dweinholz committed Dec 17, 2019
1 parent 8e156cb commit a51d025
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions VirtualMachineService/VirtualMachineHandler.py
Original file line number Diff line number Diff line change
Expand Up @@ -1166,8 +1166,10 @@ def add_security_group_to_server(self, http, https, udp, server_id):
https=https,
http=http, description="UDP"
)
self.conn.add_server_security_groups(
server=server, security_groups=[security_group]
self.logger.info(security_group)
self.logger.info("Add security group {} to server {} ".format(security_group.id, server_id))
self.conn.compute.add_security_group_to_server(
server=server_id, security_group=security_group
)

return True
Expand Down

0 comments on commit a51d025

Please sign in to comment.