Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion baidubce/services/eip/eip_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ def undirect_eip(self, eip, client_token, config=None):


def list_eips(self, eip=None, instance_type=None, instance_id=None, status=None, marker=None, max_keys=1000,
config=None):
config=None, name=None):
"""
get a list of eip owned by the authenticated user and specified
conditions. we can Also get a single eip function through this
Expand Down Expand Up @@ -477,6 +477,8 @@ def list_eips(self, eip=None, instance_type=None, instance_id=None, status=None,
params[b'marker'] = marker
if max_keys is not None:
params[b'maxKeys'] = max_keys
if name is not None:
params[b'name'] = name
return self._send_request(http_methods.GET, path, params=params,
config=config)

Expand Down