Skip to content
This repository was archived by the owner on Oct 19, 2023. It is now read-only.

Commit 5e4a36f

Browse files
proppyGerrit Code Review
authored and
Gerrit Code Review
committed
Merge "google-assistant-sdk: fix registration error message" into eap-device-actions
2 parents aed0fb5 + 04c61a8 commit 5e4a36f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

google-assistant-sdk/googlesamples/assistant/grpc/pushtotalk.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -375,11 +375,11 @@ def onoff(on):
375375
logging.info('Registering device')
376376
if not device_model_id:
377377
logging.error('Option --device-model-id required '
378-
'when registrering a model.')
378+
'when registering a device instance.')
379379
sys.exit(-1)
380380
if not project_id:
381-
logging.error('Option --project required '
382-
'when registrering a model.')
381+
logging.error('Option --project-id required '
382+
'when registering a device instance.')
383383
sys.exit(-1)
384384
device_base_url = (
385385
'https://%s/v1alpha2/projects/%s/devices' % (api_endpoint,

0 commit comments

Comments
 (0)