We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 910d845 commit 8ac795bCopy full SHA for 8ac795b
README.md
@@ -1043,6 +1043,7 @@ $ scw inspect myserver | jq '.[0].public_ip.address'
1043
* `scw stop server1 server2` doesn't exit on first stopping failure
1044
* `scw run IMAGE [COMMAND]`, default *COMMAND* is now `if [ -x /bin/bash ]; then exec /bin/bash; else exec /bin/sh; fi`
1045
* `scw run|create SNAPSHOT`, raised an error if snapshot does not have base volume
1046
+* `scw stop -t` removes server entry from cache
1047
1048
### 1.1.0 (2015-06-12)
1049
commands/stop.go
@@ -73,6 +73,9 @@ func runStop(cmd *types.Command, args []string) {
73
hasError = true
74
}
75
76
+ if stopT {
77
+ cmd.API.Cache.RemoveServer(serverID)
78
+ }
79
fmt.Println(needle)
80
81
0 commit comments