src/bosh-softlayer-cpi/softlayer/client/swift_large_object.go
func (lo *largeObject) abort() {
	objects, err := lo.c.ObjectNamesAll(lo.container, nil)
	if err != nil {
		lo.logger.Error(swiftLargeObjectLogTag, fmt.Sprintf("Return all multipart objects: %v\n", err))
		return
	}
	for _, object := range objects {
		if strings.HasPrefix(object, lo.objectName+"/"+lo.timestamp+"/") {
			err = lo.c.ObjectDelete(lo.container, object)
			if err != nil {
				lo.logger.Error(swiftLargeObjectLogTag, fmt.Sprintf("Delete the multipart objects: %v\n", err))
			}
		}
	}
	return
}
func (lo *largeObject) abort() {
	objects, err := lo.c.ObjectNamesAll(lo.container, nil)
	if err != nil {
		lo.logger.Error(swiftLargeObjectLogTag, fmt.Sprintf("Return all multipart objects: %v\n", err))
		return
	}
	for _, object := range objects {
		if strings.HasPrefix(object, lo.objectName+"/"+lo.timestamp+"/") {
			err = lo.c.ObjectDelete(lo.container, object)
			if err != nil {
				lo.logger.Error(swiftLargeObjectLogTag, fmt.Sprintf("Delete the multipart objects: %v\n", err))
			}
		}
	}
	return
}
// Try to abort multipart upload. Do not error on failure.