Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The agents update command fails with a useless message #211

Closed
psanders opened this issue Nov 8, 2021 · 1 comment
Closed

The agents update command fails with a useless message #211

psanders opened this issue Nov 8, 2021 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@psanders
Copy link
Member

psanders commented Nov 8, 2021

Describe the bug
Using the fonoster agents:update command fails with a useless message.

To Reproduce
Steps to reproduce the behavior:

  1. Go to your console
  2. Create a new Agent or use an existing one
  3. Then attempt to update using fonoster agents:update [ID]
  4. See error

Error example:

Error: 9 FAILED_PRECONDITION: $[0].spec.credentials.username: must be at least 3 characters long, $[0].spec.credentials.username: is a readonly field, it cannot be changed

Expected behavior
There should be no errors

System information (please complete the following):

  • OS: OSX
  • NodeJS, NPM versions: v14.16.0, 7.10.0
  • CTL version: 0.2.17

Additional context
No

@psanders psanders added the bug Something isn't working label Nov 8, 2021
@psanders psanders self-assigned this Nov 8, 2021
@psanders
Copy link
Member Author

psanders commented Nov 8, 2021

Note for myself: The fonoster providers:update has a similar problem.

psanders added a commit that referenced this issue Nov 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant