Skip to content
Snippets Groups Projects
Commit bcd35e09 authored by Dato Simó's avatar Dato Simó
Browse files

cli.py: use None as name for tag operations on the cluster


This change is mostly cosmetic. Previously, the literal "cluster" was
used for the 'name' field of tag operations on the cluster (as opposed
to a node or an instance). Since this field has a type of TMaybeString
specifically for the case of the cluster, it seems more correct to use
None, rather than an arbitrary string (that is not used by the callee).

Additionally: note in opcodes.py that groups also expect a name; the
previous comment only referred to nodes and instances.

Signed-off-by: default avatarDato Simó <dato@google.com>
Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
parent c17770c7
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment