Skip to content

Commit

Permalink
remove warning when spec_version not exist, resources.yaml has no spe…
Browse files Browse the repository at this point in the history
…c_version
  • Loading branch information
alex-smile committed Nov 29, 2023
1 parent dfecaf0 commit d2fd783
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion sdks/apigw-manager/src/apigw_manager/apigw/helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ def __init__(self, definition):
def _check_spec_version(self, definition):
spec_version = definition.get("spec_version")
if not spec_version:
logger.warning("please add `spec_version: 1` to definition.yaml")
return

if str(spec_version) not in self.valid_spec_versions:
Expand Down

0 comments on commit d2fd783

Please sign in to comment.