dbus: assert fmt.Stringer instead of helper.Args on argument seal
Signed-off-by: Ophestra Umiker <cat@ophivana.moe>
This commit is contained in:
parent
b722adc4dd
commit
be83ad838c
|
@ -2,6 +2,7 @@ package dbus
|
|||
|
||||
import (
|
||||
"errors"
|
||||
"fmt"
|
||||
"io"
|
||||
"os"
|
||||
"os/exec"
|
||||
|
@ -43,7 +44,7 @@ func (p *Proxy) String() string {
|
|||
}
|
||||
|
||||
if p.seal != nil {
|
||||
return p.seal.(helper.Args).String()
|
||||
return p.seal.(fmt.Stringer).String()
|
||||
}
|
||||
|
||||
return "(unsealed dbus proxy)"
|
||||
|
|
Loading…
Reference in New Issue