Skip to content
Snippets Groups Projects
Commit c353b965 authored by Zygmunt Krynicki's avatar Zygmunt Krynicki
Browse files

pkg/dbusutil: simplify variable definition


Signed-off-by: default avatarZygmunt Krynicki <zygmunt.krynicki@huawei.com>
parent a118f420
No related branches found
No related tags found
1 merge request!6many: simplify godbus import
Pipeline #1934 passed
...@@ -169,7 +169,7 @@ type svcRegistration struct { ...@@ -169,7 +169,7 @@ type svcRegistration struct {
// DBusConn returns the bus connection object. // DBusConn returns the bus connection object.
func (reg *svcRegistration) DBusConn() *dbus.Conn { func (reg *svcRegistration) DBusConn() *dbus.Conn {
var sh *ServiceHost = reg.ServiceHost var sh = reg.ServiceHost
return sh.conn return sh.conn
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment