You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running balena env rm <id> on a config variable, without specifying the --config flag, it should throw an error. Perhaps something like "ERROR: this is a config variable. Did you mean to use the --config flag?" or something similar.
Actual Behavior
When running balena env rm <id> on a config variable, without specifying the --config flag you get the following output:
% balena env rm 1689
? Are you sure you want to delete the environment variable? Yes
However when you then check the variables again for this fleet, the variable still shows, despite it looking like it was sucessful.
The issue, of course, is the missing --config flag - however this is not clear by the output and this should fail gracefully rather than silently like it does now
Steps to Reproduce the Problem
Try to delete a config variable without using the --config flag
Specifications
balena CLI version: 16.7.5
The text was updated successfully, but these errors were encountered:
Expected Behavior
When running
balena env rm <id>
on a config variable, without specifying the--config
flag, it should throw an error. Perhaps something like "ERROR: this is a config variable. Did you mean to use the --config flag?" or something similar.Actual Behavior
When running
balena env rm <id>
on a config variable, without specifying the--config
flag you get the following output:However when you then check the variables again for this fleet, the variable still shows, despite it looking like it was sucessful.
The issue, of course, is the missing
--config
flag - however this is not clear by the output and this should fail gracefully rather than silently like it does nowSteps to Reproduce the Problem
Try to delete a config variable without using the --config flag
Specifications
The text was updated successfully, but these errors were encountered: