Skip to content
Prev Previous commit
Next Next commit
Apply suggestions from code review
Co-authored-by: Nitish Tiwari <nitish@parseable.com> Signed-off-by: Nikhil Sinha <131262146+nikhilsinhacloudsurfex@users.noreply.github.com>
  • Loading branch information
nikhilsinhaparseable and nitisht authored Jan 10, 2024
commit c3cc337f5734a061b85e1e6b5890e4e5112ad7d2
4 changes: 2 additions & 2 deletions server/src/handlers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,5 @@ const SESSION_COOKIE_NAME: &str = "session";
const USER_COOKIE_NAME: &str = "username";

// constants for Log Source values for known sources
const LOG_SOURCE_VALUE_FOR_KINEIS: &str = "kinesis";
const LOG_SOURCE_VALUE_FOR_OTEL: &str = "otel";
const LOG_SOURCE_KINESIS: &str = "kinesis";
const LOG_SOURCE_OTEL: &str = "otel";
2 changes: 1 addition & 1 deletion server/src/handlers/http/ingest.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ use crate::event::error::EventError;
use crate::event::format::EventFormat;
use crate::event::{self, format};
use crate::handlers::{
LOG_SOURCE_KEY, LOG_SOURCE_VALUE_FOR_KINEIS, LOG_SOURCE_VALUE_FOR_OTEL, PREFIX_META,
LOG_SOURCE_KEY, LOG_SOURCE_KINEIS, LOG_SOURCE_OTEL, PREFIX_META,
PREFIX_TAGS, SEPARATOR, STREAM_NAME_HEADER_KEY,
};
use crate::metadata::STREAM_INFO;
Expand Down