mirror of
https://github.com/docker/compose.git
synced 2025-07-25 06:34:35 +02:00
Fix volume error message
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
This commit is contained in:
parent
57ded74aee
commit
06d0ffae82
@ -169,7 +169,7 @@ func errorEvent(resource string) progress.Event {
|
|||||||
func (cs *aciVolumeService) Delete(ctx context.Context, id string, options interface{}) error {
|
func (cs *aciVolumeService) Delete(ctx context.Context, id string, options interface{}) error {
|
||||||
tokens := strings.Split(id, "/")
|
tokens := strings.Split(id, "/")
|
||||||
if len(tokens) != 2 {
|
if len(tokens) != 2 {
|
||||||
return errors.New("wrong format for volume ID : should be storageaccount@fileshare")
|
return errors.New("invalid format for volume ID, expected storageaccount/fileshare")
|
||||||
}
|
}
|
||||||
storageAccount := tokens[0]
|
storageAccount := tokens[0]
|
||||||
fileshare := tokens[1]
|
fileshare := tokens[1]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user