Skip to content

Commit 496f3c7

Browse files
committed
Fix log output when using docker
1 parent 3cff2ed commit 496f3c7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sync/database.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ func (database *Database) String(direction string) string {
6363
}
6464

6565
if connRemote.IsDocker() {
66-
remote = append(remote, fmt.Sprintf("Docker:%s", connRemote.Docker))
66+
remote = append(remote, fmt.Sprintf("Docker:%s", connRemote.Docker.Hostname))
6767
} else if database.Hostname != "" {
6868
hostname := database.Hostname
6969

@@ -93,7 +93,7 @@ func (database *Database) String(direction string) string {
9393
}
9494

9595
if connLocal.IsDocker() {
96-
local = append(local, fmt.Sprintf("Docker:%s", connLocal.Docker))
96+
local = append(local, fmt.Sprintf("Docker:%s", connLocal.Docker.Hostname))
9797
} else if database.Local.Hostname != "" {
9898
hostname := database.Local.Hostname
9999

0 commit comments

Comments
 (0)