Skip to content

Commit 7d23e70

Browse files
😒 Remove parameter fixes watson-developer-cloud#86
Remove a parameter from the `delete_collection` method in the retrieve and rank service
1 parent 6149667 commit 7d23e70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

watson_developer_cloud/retrieve_and_rank_v1.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def create_collection(self, solr_cluster_id, collection_name, config_name):
6868
return self.request(method='POST', url='/v1/solr_clusters/{0}/solr/admin/collections'.format(solr_cluster_id),
6969
params=params, accept_json=True)
7070

71-
def delete_collection(self, solr_cluster_id, collection_name, config_name):
71+
def delete_collection(self, solr_cluster_id, collection_name):
7272
params = {'name': collection_name, 'action': 'DELETE', 'wt': 'json'}
7373
return self.request(method='POST', url='/v1/solr_clusters/{0}/solr/admin/collections'.format(solr_cluster_id),
7474
params=params, accept_json=True)

0 commit comments

Comments
 (0)