Skip to content

Commit

Permalink
Add warning note.
Browse files Browse the repository at this point in the history
  • Loading branch information
soares-sergio committed Nov 11, 2024
1 parent 53d4c18 commit 7dabd92
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/tools/zap_cluster_rev/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ orphan: true
This tool parses ZAP files and updates outdated cluster revisions according to
the specification.

**WARNING**: This tool only updates the revision number. Please ensure any new
attributes, events or commands are implemented accordingly.

# Prerequisites

This tool uses the python environment, which can be built and activated using:
Expand Down
1 change: 1 addition & 0 deletions src/tools/zap_cluster_rev/zap_cluster_rev.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ def main():
parser.add_argument("filenames", nargs="+", help="A sequence of ZAP filenames.")
args = parser.parse_args()

print("**WARNING**: This tool only updates the revision number. Please ensure any new attributes, events or commands are implemented accordingly.")
outdated_count = 0
for zap_filename in args.filenames:
print("Checking for outdated cluster revisions on: %s" % zap_filename)
Expand Down

0 comments on commit 7dabd92

Please sign in to comment.