Skip to content

Commit c4a4f15

Browse files
ExaneServerTeamseveas
authored andcommitted
Fix delete_sso_server function
+ INDEX should be an attribute + Enforce index to be a string
1 parent 1de60bf commit c4a4f15

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

hpilo.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -910,7 +910,8 @@ def delete_federation_group(self, group_name):
910910

911911
def delete_sso_server(self, index):
912912
"""Delete an SSO server by index"""
913-
return self._control_tag('SSO_INFO', 'DELETE_SERVER', index)
913+
return self._control_tag('SSO_INFO', 'DELETE_SERVER',
914+
attrib={'INDEX': str(index)})
914915

915916
def delete_user(self, user_login):
916917
"""Delete the specified user from the ilo"""

0 commit comments

Comments
 (0)