app: merge seal with sys
The existence of the appSealSys struct was an implementation detail obsolete since system.I was integrated in 084cd84f36.
Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user