Fix dockerfile issue
This commit is contained in:
12
rust/myfsio-engine/Cargo.lock
generated
12
rust/myfsio-engine/Cargo.lock
generated
@@ -2630,7 +2630,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "myfsio-auth"
|
||||
version = "0.5.0"
|
||||
version = "0.4.3"
|
||||
dependencies = [
|
||||
"aes",
|
||||
"base64",
|
||||
@@ -2655,7 +2655,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "myfsio-common"
|
||||
version = "0.5.0"
|
||||
version = "0.4.3"
|
||||
dependencies = [
|
||||
"chrono",
|
||||
"serde",
|
||||
@@ -2666,7 +2666,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "myfsio-crypto"
|
||||
version = "0.5.0"
|
||||
version = "0.4.3"
|
||||
dependencies = [
|
||||
"aes-gcm",
|
||||
"base64",
|
||||
@@ -2687,7 +2687,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "myfsio-server"
|
||||
version = "0.5.0"
|
||||
version = "0.4.3"
|
||||
dependencies = [
|
||||
"aes-gcm",
|
||||
"async-trait",
|
||||
@@ -2738,7 +2738,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "myfsio-storage"
|
||||
version = "0.5.0"
|
||||
version = "0.4.3"
|
||||
dependencies = [
|
||||
"chrono",
|
||||
"dashmap",
|
||||
@@ -2761,7 +2761,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "myfsio-xml"
|
||||
version = "0.5.0"
|
||||
version = "0.4.3"
|
||||
dependencies = [
|
||||
"chrono",
|
||||
"myfsio-common",
|
||||
|
||||
@@ -328,7 +328,7 @@ pub async fn auth_layer(State(state): State<AppState>, mut req: Request, next: N
|
||||
.and_then(|value| value.to_str().ok())
|
||||
.map(|value| value.to_string());
|
||||
|
||||
let response = if path == "/myfsio/health" || path == "/health" {
|
||||
let response = if path == "/myfsio/health" {
|
||||
next.run(req).await
|
||||
} else if let Some(response) = maybe_serve_website(
|
||||
&state,
|
||||
@@ -488,7 +488,7 @@ async fn authorize_request(
|
||||
query: &str,
|
||||
copy_source: Option<&str>,
|
||||
) -> Result<(), S3Error> {
|
||||
if path == "/myfsio/health" || path == "/health" {
|
||||
if path == "/myfsio/health" {
|
||||
return Ok(());
|
||||
}
|
||||
if path == "/" {
|
||||
|
||||
Reference in New Issue
Block a user