Skip to content

CLI flags typo gives strange error: --keyid instead of --keyId  #54

Description

@alain-odea-vgh

If I run this:

sdc-listmachines --account VerafinProduction --keyid 'f5:ac:f8:d2:bd:e9:d3:3d:b6:67:62:4e:55:23:eb:36'

I get this strange error:

/home/alain_odea/.nvm/v0.10.28/lib/node_modules/smartdc/lib/cloudapi.js:3078
            throw (err);
                   ^
Error: --image not found in: /home/alain_odea/.ssh
    at _checkPublic (/home/alain_odea/.nvm/v0.10.28/lib/node_modules/smartdc/node_modules/smartdc-auth/lib/index.js:89:23)
    at fs.js:266:14
    at Object.oncomplete (fs.js:107:15)

If I run this:

sdc-listmachines --account VerafinProduction --keyId 'f5:ac:f8:d2:bd:e9:d3:3d:b6:67:62:4e:55:23:eb:36'

It works properly. I am omitting the JSON listing of the servers because it's not needed.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions