Skip to content

Commit eb517c4

Browse files
committed
Merge pull request #21 from sqlrsync/fixPullKeyRequest
feat: prompt for key if anon PULL access fails
2 parents 26c67d7 + b3e211c commit eb517c4

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

client/remote/client.go

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -703,14 +703,6 @@ func (c *Client) Connect() error {
703703
c.logger.Fatal("No wsID provided for X-ClientID header")
704704
}
705705

706-
headers.Set("X-ClientVersion", c.config.ClientVersion)
707-
708-
if c.config.WsID != "" {
709-
headers.Set("X-ClientID", c.config.WsID)
710-
} else {
711-
c.logger.Fatal("No wsID provided for X-ClientID header")
712-
}
713-
714706
if c.config.LocalHostname != "" {
715707
headers.Set("X-LocalHostname", c.config.LocalHostname)
716708
}

0 commit comments

Comments
 (0)