Skip to content

Commit

Permalink
Use originHostname instead of self.hostname in apiService
Browse files Browse the repository at this point in the history
  • Loading branch information
davidkneipp committed Jan 25, 2024
1 parent 8771efa commit b23855e
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions services/apiService.py
Original file line number Diff line number Diff line change
Expand Up @@ -1923,7 +1923,7 @@ def patch(self):
},
metricExpiry=60,
usePrefix=True,
prefixHostname=self.hostname,
prefixHostname=originHostname,
prefixServiceName='metric')
if 'serving_apn' in json_data:
print("Updating serving APN")
Expand Down Expand Up @@ -1952,7 +1952,7 @@ def patch(self):
},
metricExpiry=60,
usePrefix=True,
prefixHostname=self.hostname,
prefixHostname=originHostname,
prefixServiceName='metric')
if 'scscf' in json_data:
print("Updating Serving SCSCF")
Expand All @@ -1972,7 +1972,7 @@ def patch(self):
},
metricExpiry=60,
usePrefix=True,
prefixHostname=self.hostname,
prefixHostname=originHostname,
prefixServiceName='metric')
if 'pcscf' in json_data:
print("Updating Proxy SCSCF")
Expand All @@ -1994,7 +1994,7 @@ def patch(self):
},
metricExpiry=60,
usePrefix=True,
prefixHostname=self.hostname,
prefixHostname=originHostname,
prefixServiceName='metric')
if 'imei' in json_data:
print("Updating EIR")
Expand All @@ -2008,7 +2008,7 @@ def patch(self):
},
metricExpiry=60,
usePrefix=True,
prefixHostname=self.hostname,
prefixHostname=originHostname,
prefixServiceName='metric')
if 'auc_id' in json_data:
print("Updating AuC")
Expand All @@ -2022,7 +2022,7 @@ def patch(self):
},
metricExpiry=60,
usePrefix=True,
prefixHostname=self.hostname,
prefixHostname=originHostname,
prefixServiceName='metric')
if 'emergency_subscriber_ip' in json_data:
"""
Expand Down Expand Up @@ -2069,7 +2069,7 @@ def patch(self):
},
metricExpiry=60,
usePrefix=True,
prefixHostname=self.hostname,
prefixHostname=originHostname,
prefixServiceName='metric')
return response_data, 200
except Exception as E:
Expand Down

0 comments on commit b23855e

Please sign in to comment.