// ConvertRetentionBytesToInt converts the value from "retention-bytes" to int
ConvertRetentionBytesToInt converts the value from "retention-bytes" to int
// ConvertRetentionBytesToInt converts the value from " retention - bytes " to int
func ConvertRetentionBytesToInt(retentionBytesStr string) (int, error) {
	retentionMsInt, err := strconv.Atoi(retentionBytesStr)
	if err != nil {
		return 0, fmt.Errorf("invalid value for retention size: %v", retentionMsInt)
	}
	return retentionMsInt, nil
}
func ConvertRetentionBytesToInt ( retentionBytesStr string ) ( int , error ) { retentionMsInt , err := strconv . Atoi ( retentionBytesStr ) if err != nil { return 0 , fmt . Errorf ( " " , retentionMsInt ) } return retentionMsInt , nil }
ConvertRetentionBytesToInt converts the value from "retention-bytes" to int
ConvertRetentionBytesToInt converts the value from " retention - bytes " to int