Skip to content

Commit d8ac9ec

Browse files
committed
stylecheck: ST1016: methods on the same type should have the same receiver name
1 parent 14a5753 commit d8ac9ec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libvirt/uri/unix.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ const (
99
defaultUnixSock = "/var/run/libvirt/libvirt-sock"
1010
)
1111

12-
func (c *ConnectionURI) dialUNIX() (net.Conn, error) {
12+
func (u *ConnectionURI) dialUNIX() (net.Conn, error) {
1313

14-
q := c.Query()
14+
q := u.Query()
1515
address := q.Get("socket")
1616
if address == "" {
1717
address = defaultUnixSock

0 commit comments

Comments
 (0)