Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updated version endpoint #14

Merged
merged 1 commit into from
Jul 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading