devspace-cloud / devspace-cloud-plugin

0 stars 3 forks source link

Bug: devspace set encryptionkey logs the key instead of the cluster name on success #1

Open SamYu opened 3 years ago

SamYu commented 3 years ago

What happened?
When attempting to set encryptionkey for devspace cloud via devspace set encryptionkey <KEY> --cluster=<CLUSTER>, the success message outputs Succesfully set encryption key for cluster <KEY> with the key in the success message instead of the cluster name.

This is the command and output

devspace set encryptionkey "SOME_KEY" --cluster=CLUSTER_NAME
[info]   Successfully set encryption key for cluster SOME_KEY

What did you expect to happen instead?
The success message should say the cluster name.

How can we reproduce the bug? (as minimally and precisely as possible)

  1. devspace set encryptionkey <KEY> --cluster=<CLUSTER>

Local Environment:

Kubernetes Cluster:

Anything else we need to know?

/kind bug

FabianKramm commented 3 years ago

@SamYu thanks for reporting this issue! You are correct, should be an easy fix