Skip to content

Commit

Permalink
Merge pull request #14 from netfoundry/bugfix/version_endpoint_update
Browse files Browse the repository at this point in the history
updated version endpoint
  • Loading branch information
emoscardini authored Jul 30, 2024
2 parents e22731a + 5e6e51b commit 9798b9a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.2.1] - 2024-07-30

### Fixed

- Fixed version endpoint to be more specific

## [1.2.0] - 2023-10-04

### Changed
Expand Down
4 changes: 2 additions & 2 deletions router_upgrade.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ def get_ziti_controller_version(controller_url):
response = None
http_code = 0
try:
endpoint_url = controller_url + "/edge/v1/version"
endpoint_url = controller_url + "/edge/client/v1/version"
logging.debug('Attempting to access %s', endpoint_url)
urllib3.disable_warnings()
response = requests.get(endpoint_url, verify=False, timeout=30)
Expand Down Expand Up @@ -346,7 +346,7 @@ def main():
"""
Main logic
"""
__version__ = '1.2.0'
__version__ = '1.2.1'
# Change log
# See https://github.com/netfoundry/edge-router-upgrade/blob/main/CHANGELOG.md

Expand Down

0 comments on commit 9798b9a

Please sign in to comment.