Remove enterprise leftovers from community
This commit is contained in:
@@ -25,22 +25,6 @@ pub enum RegistryError {
|
||||
PlatformApiKeyNotFound { key_id: String },
|
||||
#[error("secret {secret_id} was not found")]
|
||||
SecretNotFound { secret_id: String },
|
||||
#[error("stream session {session_id} was not found")]
|
||||
StreamSessionNotFound { session_id: String },
|
||||
#[error("async job {job_id} was not found")]
|
||||
AsyncJobNotFound { job_id: String },
|
||||
#[error("invalid stream session transition for {session_id}: {from} -> {to}")]
|
||||
InvalidStreamSessionTransition {
|
||||
session_id: String,
|
||||
from: String,
|
||||
to: String,
|
||||
},
|
||||
#[error("invalid async job transition for {job_id}: {from} -> {to}")]
|
||||
InvalidAsyncJobTransition {
|
||||
job_id: String,
|
||||
from: String,
|
||||
to: String,
|
||||
},
|
||||
#[error("secret with name {name} already exists in workspace {workspace_id}")]
|
||||
SecretNameAlreadyExists { workspace_id: String, name: String },
|
||||
#[error("secret {secret_id} is referenced by auth profile {auth_profile_id}")]
|
||||
|
||||
@@ -584,7 +584,7 @@ fn join_target_url(base: &str, path: &str) -> String {
|
||||
return base.to_owned();
|
||||
}
|
||||
|
||||
if path.starts_with("http://") || path.starts_with("https://") || path.starts_with("grpc://") {
|
||||
if path.starts_with("http://") || path.starts_with("https://") {
|
||||
return path.to_owned();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user