Skip to content

Commit a1d80f5

Browse files
committed
Merge pull request #38 from gdey/slave_hostname
Slave hostname
2 parents 339da78 + 9d2b118 commit a1d80f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

replication/binlogsyncer.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ func (b *BinlogSyncer) LocalHostname() string {
7575
}
7676

7777
// SetLocalHostname set's the hostname that register salve would register as.
78-
func (b *NewBinlogSyncer) SetLocalHostname(name string) {
78+
func (b *BinlogSyncer) SetLocalHostname(name string) {
7979
b.localhost = name
8080
}
8181

0 commit comments

Comments
 (0)