You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by "gokulakrishnansvm (via GitHub)" <gi...@apache.org> on 2023/08/01 18:36:21 UTC

[GitHub] [trafficcontrol] gokulakrishnansvm commented on a diff in pull request #7679: Added Api contract test case for cdn_federation, user_federation and delivery_service_federation endpoint

gokulakrishnansvm commented on code in PR #7679:
URL: https://github.com/apache/trafficcontrol/pull/7679#discussion_r1281007013


##########
traffic_control/clients/python/trafficops/tosession.py:
##########
@@ -1244,7 +1255,7 @@ def create_federation_in_cdn(self, cdn_name=None, data=None):
 		"""
 
 	@api_request('put', 'cdns/{cdn_name:s}/federations/{federation_id:d}', ('3.0', '4.0', '4.1', '5.0'))
-	def update_federation_in_cdn(self, cdn_name=None, federation_id=None, query_params=None):
+	def update_federation_in_cdn(self, cdn_name=None, federation_id=None, data=None):

Review Comment:
   For updating federation_in_cdn, We need to pass some data, Previously there was no argument for passing data, Instead query params was there, Here there is no use for Query params, So i removed and added data as an argument.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@trafficcontrol.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org