Address codespell and Sonar findings on embedded-vnc

This commit is contained in:
Viktor Liu
2026-05-23 19:06:02 +02:00
parent 7b1b3709f5
commit 544ebb3575
5 changed files with 355 additions and 321 deletions
+1 -1
View File
@@ -171,7 +171,7 @@ func (r approvalRequest) displayPeer() string {
}
// deadline returns the wall-clock auto-deny moment. Falls back to a short
// local window when the daemon's expires_at is missing/unparseable, so a
// local window when the daemon's expires_at is missing/unparsable, so a
// stale value never leaves the dialog open indefinitely.
func (r approvalRequest) deadline() time.Time {
if t, err := time.Parse(time.RFC3339, r.expiresAt); err == nil {