Skip to content

Commit

Permalink
allow integer port numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
ocket8888 committed Oct 19, 2023
1 parent cc2f735 commit b3cc7db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion traffic_ops/install/bin/postinstall.test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@ if conf['traffic_ops_golang']['key']!= key:
print('Incorrect key in cdn.conf, expected:', key, 'got:', conf['traffic_ops_golang']['key'], file=sys.stderr)
exit(1)
if conf['traffic_ops_golang']['port'] != '443':
if conf['traffic_ops_golang']['port'] != "443" and conf["traffic_ops_golang"]["port"] != 443:
print('Incorrect traffic_ops_golang.port, expected: 443, got:', conf['traffic_ops_golang']['port'], file=sys.stderr)
exit(1)
Expand Down

0 comments on commit b3cc7db

Please sign in to comment.