Comments (1)
I guess the status not being "paused" doesn't necessarily mean that it is active or has been successfully resumed - because there is an in-between status of "dirty" while an environment might be either on the way to being paused, or on the way to being resumed. And there are also the statuses of "inactive" and "deleting" which would also not be desired results of resuming. So I feel returning an error feels more conservative: it's up to the caller then to check the exact environment state. I suppose we could return 0 if the environment is active, and 1 otherwise? but that seems convoluted.
from legacy-cli.
Related Issues (20)
- Error when adding a custom domain on a non-production env HOT 2
- Error when deleting a non-production domain
- Typo in platform scp help message
- The `list` command: the `--all` option doesn't work for `json` and `md` formats
- Replace deprecated phone verification endpoint
- Installing the phar file to /usr/local/bin fails "The directory is not writeable: /usr/local/bin" HOT 2
- Github integration: create a branch does not push new branch to GH
- Preserve --include/--exclude order when using mount:download HOT 6
- Update resources commands for version 25
- File-based locking fails on the very first run HOT 1
- Add mention about disk size when syncing 2 environments
- Flexible resources improvements with Git 25 HOT 1
- Support step-up authentication
- Metrics durations only support 1-2 digits
- httpaccess command breaks ipv6 addresses
- Fetch all resources
- Command description: change simple quote to ` character
- upsun integration:activities is missing in the exported md file for the doc HOT 3
- Opening a SSH tunnel to Solr service provides incorrect URL
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from legacy-cli.