Make one small change to a backend local crate and see if caching speeds up backend test container build process
All checks were successful
Podman Rootless Demo / test-backend (push) Successful in 6m26s
All checks were successful
Podman Rootless Demo / test-backend (push) Successful in 6m26s
This commit is contained in:
parent
93ce4f81b6
commit
28c89c6384
1 changed files with 1 additions and 1 deletions
|
|
@ -48,7 +48,7 @@ impl User {
|
||||||
// Constructor with validation
|
// Constructor with validation
|
||||||
pub fn new(id: Uuid, username: String, email: String) -> Result<Self> {
|
pub fn new(id: Uuid, username: String, email: String) -> Result<Self> {
|
||||||
if username.trim().is_empty() {
|
if username.trim().is_empty() {
|
||||||
return Err(DomainError::InvalidInput("Username cannot be empty".to_string()));
|
return Err(DomainError::InvalidInput("Username cannot be empty.".to_string()));
|
||||||
}
|
}
|
||||||
|
|
||||||
let now = Utc::now();
|
let now = Utc::now();
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue