mirror of
https://github.com/moghtech/komodo.git
synced 2026-04-28 03:38:55 -05:00
fix update list nonsense
This commit is contained in:
@@ -83,11 +83,11 @@ impl Resolve<ListUpdates, RequestUser> for State {
|
||||
operation: u.operation,
|
||||
start_ts: u.start_ts,
|
||||
success: u.success,
|
||||
operator: usernames
|
||||
username: usernames
|
||||
.get(&u.operator)
|
||||
.cloned()
|
||||
.unwrap_or("unknown".to_string()),
|
||||
operator_id: u.operator,
|
||||
operator: u.operator,
|
||||
target: u.target,
|
||||
status: u.status,
|
||||
version: u.version,
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -33,8 +33,8 @@ pub struct UpdateListItem {
|
||||
pub operation: Operation,
|
||||
pub start_ts: I64,
|
||||
pub success: bool,
|
||||
pub username: String,
|
||||
pub operator: String,
|
||||
pub operator_id: String,
|
||||
pub target: ResourceTarget,
|
||||
pub status: UpdateStatus,
|
||||
pub version: Version,
|
||||
|
||||
Reference in New Issue
Block a user