Skip to content

Commit 54a78e2

Browse files
fix: correct usage message filename in sample clients
Signed-off-by: Artem Muterko <artem@sopho.tech>
1 parent 47b02d1 commit 54a78e2

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

samples/http-image-cloudevents/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def send_structured_cloud_event(url: str):
6464
if __name__ == "__main__":
6565
# Run client.py via: 'python3 client.py http://localhost:3000/'
6666
if len(sys.argv) < 2:
67-
sys.exit("Usage: python with_requests.py <CloudEvents controller URL>")
67+
sys.exit("Usage: python client.py <CloudEvents controller URL>")
6868

6969
url = sys.argv[1]
7070
send_binary_cloud_event(url)

samples/http-json-cloudevents/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def send_structured_cloud_event(url):
5555
# expects a url from command line.
5656
# e.g. python3 client.py http://localhost:3000/
5757
if len(sys.argv) < 2:
58-
sys.exit("Usage: python with_requests.py <CloudEvents controller URL>")
58+
sys.exit("Usage: python client.py <CloudEvents controller URL>")
5959

6060
url = sys.argv[1]
6161
send_binary_cloud_event(url)

0 commit comments

Comments
 (0)