Skip to content

Conversation

@hongalex
Copy link
Contributor

@hongalex hongalex commented Sep 3, 2019

This fixes some issues with upgrading to yargs v14.0.0:

  1. Positional arguments were removed from createGateway sample. This is more in line with other samples, and will require migrating other samples to a similar format. For the sake of unblocking Update dependency yargs to v14 #1454, this is the only sample changed for now.
  2. Use a single non-whitespaced string for sendCommand sample, such that yargs does not interpret the command sting as multiple arguments.

This change also updates the gateway samples + tests such that includes specifying [gateway auth method] (https://cloud.google.com/iot/docs/reference/cloudiot/rest/v1/projects.locations.registries.devices#gatewayauthmethod) which was previously missing.

@hongalex hongalex requested a review from gguuss as a code owner September 3, 2019 08:14
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Sep 3, 2019
@hongalex hongalex mentioned this pull request Sep 3, 2019
1 task
@fhinkel fhinkel merged commit f750195 into master Sep 4, 2019
@fhinkel fhinkel deleted the iot-yargs-fix branch September 4, 2019 16:44
This was referenced Sep 15, 2021
This was referenced Sep 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants