Skip to content

Commit

Permalink
changed force
Browse files Browse the repository at this point in the history
  • Loading branch information
pcrespov committed Oct 24, 2024
1 parent 1ce2e06 commit 879671e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ class Config:

class RemoveQueryParams(BaseModel):
force: bool = Field(
default=True, description="Force removal (even if resource is active)"
default=False, description="Force removal (even if resource is active)"
)
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class HttpErrorInfo(NamedTuple):
_TO_HTTP_ERROR_MAP: dict[type[Exception], HttpErrorInfo] = {
ProjectRunningConflictError: HttpErrorInfo(
status.HTTP_409_CONFLICT,
"Current study is in use and cannot be trashed [{project_uuid}]",
"Current study is in use and cannot be trashed [{project_uuid}]. Please stop all services first and try again",
),
ProjectStopError: HttpErrorInfo(
status.HTTP_503_SERVICE_UNAVAILABLE,
Expand Down

0 comments on commit 879671e

Please sign in to comment.