// ConvertPartitionsToInt converts the value from "partitions" to int32
ConvertPartitionsToInt converts the value from "partitions" to int32
// ConvertPartitionsToInt converts the value from " partitions " to int32
func ConvertPartitionsToInt(partitionStr string) (int32, error) {
	patitionsInt, err := strconv.ParseInt(partitionStr, 10, 32)
	if err != nil {
		err = fmt.Errorf("invalid value for partitions: %v", partitionStr)
		return 0, err
	}
	return int32(patitionsInt), nil
}
func ConvertPartitionsToInt ( partitionStr string ) ( int32 , error ) { patitionsInt , err := strconv . ParseInt ( partitionStr , 10 , 32 ) if err != nil { err = fmt . Errorf ( " " , partitionStr ) return 0 , err } return int32 ( patitionsInt ) , nil }
ConvertPartitionsToInt converts the value from "partitions" to int32
ConvertPartitionsToInt converts the value from " partitions " to int32