bump dependencies: github.com/godbus/dbus/v5 to v5.1.0

Signed-off-by: penguin <lihan.zhou@daocloud.io>
This commit is contained in:
penguin
2023-05-08 17:19:02 +08:00
parent f0417ac850
commit 8b363cc7c0
19 changed files with 176 additions and 133 deletions

View File

@@ -102,7 +102,7 @@ func getSignature(t reflect.Type, depth *depthCounter) (sig string) {
}
}
if len(s) == 0 {
panic("empty struct")
panic(InvalidTypeError{t})
}
return "(" + s + ")"
case reflect.Array, reflect.Slice: