aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/app/app.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-02-19 01:36:07 +0900
committerOphestra <cat@gensokyo.uk>2025-02-19 01:36:29 +0900
commitdfd94675236844ebcec9ea51f2547ad4fd049357 (patch)
tree16571c77c980054423a5e1a1909251cbd37f13e4 /internal/app/app.go
parent53571f030e86884bc13fe1d3760ac6bf51d2938b (diff)
app: merge seal with sys
The existence of the appSealSys struct was an implementation detail obsolete since system.I was integrated in 084cd84f36a1d608541b4aa4e1e95334395d8953. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/app/app.go')
-rw-r--r--internal/app/app.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/app/app.go b/internal/app/app.go
index 9dd082b9..eb463924 100644
--- a/internal/app/app.go
+++ b/internal/app/app.go
@@ -47,10 +47,10 @@ func (a *app) String() string {
}
if a.appSeal != nil {
- if a.appSeal.sys.user.uid == nil {
+ if a.appSeal.user.uid == nil {
return fmt.Sprintf("(sealed app %s with invalid uid)", a.id)
}
- return fmt.Sprintf("(sealed app %s as uid %s)", a.id, a.appSeal.sys.user.uid)
+ return fmt.Sprintf("(sealed app %s as uid %s)", a.id, a.appSeal.user.uid)
}
return fmt.Sprintf("(unsealed app %s)", a.id)