fix: some comments (#2843)
Signed-off-by: cui fliter <imcusg@gmail.com>
This commit is contained in:
parent
c664e841f6
commit
e02d3404e3
|
@ -99,7 +99,7 @@ npm run dev
|
||||||
|
|
||||||
This will start UI server on port 8081, to change port specify it in vite.config.ts
|
This will start UI server on port 8081, to change port specify it in vite.config.ts
|
||||||
|
|
||||||
In order for you to effectively use the UI you would want to have the openobserve API server running in a seperate window that will accept requests from the UI.
|
In order for you to effectively use the UI you would want to have the openobserve API server running in a separate window that will accept requests from the UI.
|
||||||
|
|
||||||
## Swagger
|
## Swagger
|
||||||
|
|
||||||
|
|
|
@ -26,7 +26,7 @@ pub async fn init() -> Result<(), anyhow::Error> {
|
||||||
// because of asynchronous, we need to wait for a while
|
// because of asynchronous, we need to wait for a while
|
||||||
tokio::time::sleep(tokio::time::Duration::from_secs(1)).await;
|
tokio::time::sleep(tokio::time::Duration::from_secs(1)).await;
|
||||||
|
|
||||||
// check imcomplete work group
|
// check incomplete work group
|
||||||
#[cfg(feature = "enterprise")]
|
#[cfg(feature = "enterprise")]
|
||||||
o2_enterprise::enterprise::search::queue::clean(CONFIG.limit.query_timeout as i64).await?;
|
o2_enterprise::enterprise::search::queue::clean(CONFIG.limit.query_timeout as i64).await?;
|
||||||
|
|
||||||
|
|
|
@ -321,7 +321,7 @@ impl FromRequest for AuthExtractor {
|
||||||
let object_type = match stream_type {
|
let object_type = match stream_type {
|
||||||
Some(stream_type) => {
|
Some(stream_type) => {
|
||||||
if stream_type.eq(&StreamType::EnrichmentTables) {
|
if stream_type.eq(&StreamType::EnrichmentTables) {
|
||||||
// since enrichment tables have seperate permissions
|
// since enrichment tables have separate permissions
|
||||||
let stream_type_str = format!("{stream_type}");
|
let stream_type_str = format!("{stream_type}");
|
||||||
|
|
||||||
object_type.replace(
|
object_type.replace(
|
||||||
|
|
Loading…
Reference in New Issue