Преглед изворни кода

Fix volume error message

Signed-off-by: Guillaume Tardif <[email protected]>
Guillaume Tardif пре 5 година
родитељ
комит
06d0ffae82
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      aci/volumes.go

+ 1 - 1
aci/volumes.go

@@ -169,7 +169,7 @@ func errorEvent(resource string) progress.Event {
 func (cs *aciVolumeService) Delete(ctx context.Context, id string, options interface{}) error {
 	tokens := strings.Split(id, "/")
 	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]
 	fileshare := tokens[1]