Skip to content

Commit d087657

Browse files
committed
scw images -a does not prefix snapshots, volumes and bootscripts (only images)
1 parent 858c518 commit d087657

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -965,6 +965,7 @@ Same as Hack, without step 5
965965

966966
#### Fixes
967967

968+
* `scw images -a` does not prefix snapshots, volumes and bootscripts (only images)
968969
* `scw run ...` waits for 30 seconds before polling the API
969970
* `scw stop server1 server2` doesn't exit on first stopping failure
970971
* `scw run IMAGE [COMMAND]`, default *COMMAND* is now `if [ -x /bin/bash ]; then exec /bin/bash; else exec /bin/sh; fi`

commands/images.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ func runImages(cmd *types.Command, args []string) {
177177
tag := image.Tag
178178
shortID := utils.TruncIf(image.Identifier, 8, !imagesNoTrunc)
179179
name := utils.Wordify(image.Name)
180-
if !image.Public {
180+
if !image.Public && image.Type == "image" {
181181
name = "user/" + name
182182
}
183183
shortName := utils.TruncIf(name, 25, !imagesNoTrunc)

0 commit comments

Comments
 (0)