Skip to content

Commit

Permalink
Cleanup fixme
Browse files Browse the repository at this point in the history
  • Loading branch information
expede committed Apr 2, 2024
1 parent 866e3c9 commit cb1f9c8
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions src/delegation/payload.rs
Original file line number Diff line number Diff line change
Expand Up @@ -484,15 +484,8 @@ where
policy,
via,
)| {
// FIXME use from instcane
let subject = match maybe_subject {
None => Subject::Any,
Some(s) => Subject::Known(s),
};

Payload {
issuer,
subject,
audience,
command,
policy,
Expand All @@ -501,6 +494,10 @@ where
expiration,
not_before,
via,
subject: match maybe_subject {
None => Subject::Any,
Some(s) => Subject::Known(s),
},
}
},
)
Expand Down

0 comments on commit cb1f9c8

Please sign in to comment.