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

Commit 04c61a8

Browse files
committed
google-assistant-sdk: fix registration error message
Change-Id: Ie6408a727ea36abd7d54b7b287b65e81b23146d8
1 parent 2da0159 commit 04c61a8

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)