Skip to content

Commit 63a8930

Browse files
fix: fix elb typo
1 parent 99f567c commit 63a8930

File tree

1 file changed

+5
-5
lines changed
  • src/spaceone/inventory/connector/aws_elb_connector

1 file changed

+5
-5
lines changed

src/spaceone/inventory/connector/aws_elb_connector/connector.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -307,23 +307,23 @@ def get_formatted_conditions(raw_conditions: list, is_default: bool) -> list:
307307
header_values: list = config.get("Values")
308308

309309
if header_name and header_values:
310-
str_value = ",".join(header_values)
310+
str_value = ','.join(header_values)
311311
str_conditions.append("HTTP Header :")
312312
str_conditions.append(f" - {header_name} : {str_value}")
313313

314314
elif field == "http-request-method":
315315
if values := condition.get("HttpRequestMethodConfig", {}).get("Values"):
316-
str_value = ",".join(values)
316+
str_value = ','.join(values)
317317
str_conditions.append(f"HTTP Request Method : {str_value}")
318318

319319
elif field == "host-header":
320320
if values := condition.get("HostHeaderConfig", {}).get("Values"):
321-
str_value = ",".join(values)
321+
str_value = ','.join(values)
322322
str_conditions.append(f"Host Header : {str_value}")
323323

324324
elif field == "path-pattern":
325325
if values := condition.get("PathPatternConfig", {}).get("Values"):
326-
str_value = ",".join(values)
326+
str_value = ','.join(values)
327327
str_conditions.append(f"Path Pattern : {str_value}")
328328

329329
elif field == "query-string":
@@ -341,7 +341,7 @@ def get_formatted_conditions(raw_conditions: list, is_default: bool) -> list:
341341

342342
elif field == "source-ip":
343343
if values := condition.get("SourceIpConfig", {}).get("Values"):
344-
str_value = ",".join(values)
344+
str_value = ','.join(values)
345345
str_conditions.append(f"Source IP : {str_value}")
346346

347347
return str_conditions

0 commit comments

Comments
 (0)