Skip to content

Specific account names can lead to the wrong error occuring #147

@JanLukasGithub

Description

@JanLukasGithub

When you call gscloud server create --account make-config --name testName --cores 1 --mem 1, it doesn't matter if there's an account make-config in the config file, and the program just attempts to create a server which will fails due to no authorization, because the account doesn't exist and no UUID/token were loaded

The other account names this applies to are version, manpage and completion

Similar thing happens with gscloud server create --name completion --cores 1 --mem 1 when no config exists, and completion may be a name you want to give your server

Expected result would be this error account 'make-config' does not exist

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions