File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -1043,6 +1043,7 @@ $ scw inspect myserver | jq '.[0].public_ip.address'
10431043* ` scw stop server1 server2 ` doesn't exit on first stopping failure
10441044* ` scw run IMAGE [COMMAND] ` , default * COMMAND* is now ` if [ -x /bin/bash ]; then exec /bin/bash; else exec /bin/sh; fi `
10451045* ` scw run|create SNAPSHOT ` , raised an error if snapshot does not have base volume
1046+ * ` scw stop -t ` removes server entry from cache
10461047
10471048### 1.1.0 (2015-06-12)
10481049
Original file line number Diff line number Diff line change @@ -73,6 +73,9 @@ func runStop(cmd *types.Command, args []string) {
7373 hasError = true
7474 }
7575 }
76+ if stopT {
77+ cmd .API .Cache .RemoveServer (serverID )
78+ }
7679 fmt .Println (needle )
7780 }
7881 }
You can’t perform that action at this time.
0 commit comments