Skip to content

Commit

Permalink
Merge branch 'main' into fix-custom-resource-handlers
Browse files Browse the repository at this point in the history
  • Loading branch information
mergify[bot] authored Jan 12, 2025
2 parents 2c56012 + bda358d commit e1e7fa7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def get_handler(event, context):
json_path = props['JsonPath']
timeout_seconds = props['TimeoutSeconds']

# json path should be surrouded with '{}'
# json path should be surrounded with '{}'
path = '{{{0}}}'.format(json_path)
if request_type == 'Create' or request_type == 'Update':
output = wait_for_output(['get', '-n', object_namespace, object_type, object_name, "-o=jsonpath='{{{0}}}'".format(json_path)], int(timeout_seconds))
Expand Down

0 comments on commit e1e7fa7

Please sign in to comment.