// ResizeAbort stops the current resize job.
ResizeAbort stops the current resize job.
// ResizeAbort stops the current resize job .
func (api *API) ResizeAbort() error {
	if err := api.validate(apiResizeAbort); err != nil {
		return errors.Wrap(err, "validating api method")
	}
	err := api.cluster.completeCurrentJob(resizeJobStateAborted)
	return errors.Wrap(err, "complete current job")
}
func ( api * API ) ResizeAbort ( ) error { if err := api . validate ( apiResizeAbort ) ; err != nil { return errors . Wrap ( err , " " ) } err := api . cluster . completeCurrentJob ( resizeJobStateAborted ) return errors . Wrap ( err , " " ) }
ResizeAbort stops the current resize job.
ResizeAbort stops the current resize job .