-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
amtool: Detect version drift and warn users (#2672)
* amtool: Detect version drift and warn users This change detects the alertmanager version when initiating the client. It ignores most errors since I expect amtool to fail later. If amtool is not compiled with proper version, we do not do anything either. We use MajorMinor for now as we have not reach 1.0, but we still allow the bugfix version number (Z in x.y.Z) to differ. Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu> * Add version check Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
- Loading branch information
1 parent
c72c4d7
commit f684896
Showing
2 changed files
with
22 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters