Skip to content

Commit

Permalink
split ips
Browse files Browse the repository at this point in the history
  • Loading branch information
HenrithicusGreenson committed Apr 15, 2024
1 parent a6acc62 commit 082d01a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion genisys/config_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def get_section(self: Self, heading: str) -> dict:
# If being run in a github runner environment, we need to get
# the new network/IP values at run time.
if 'GITHUB_RUNNER' in os.environ:
runner_ip = os.environ['RUNNER_IP']
runner_ip = os.environ['RUNNER_IP'].split(' ')[0]
# Assign IP of server
dictionary['ip'] = str(IPv4Address(runner_ip) + 1)
# Create (estimated) network/subnet value
Expand Down

0 comments on commit 082d01a

Please sign in to comment.