print client name on success [CI SKIP]
This commit is contained in:
parent
1a55f6a948
commit
bf78be47b8
4 changed files with 2 additions and 8 deletions
|
|
@ -47,6 +47,5 @@ func NewGitFS(repoURL string) (*GitFS, error) {
|
|||
}
|
||||
|
||||
func (g *GitFS) Push() error {
|
||||
glog.Infof("Attemping to push with auth: %+v", g.auth)
|
||||
return g.repo.Push(&git.PushOptions{Auth: g.auth})
|
||||
}
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@ func addVPNClient(gitFs *GitFS, clientName, publicKey, clientsConfPath, ip strin
|
|||
return errors.Wrapf(err, "failed to write config to file")
|
||||
}
|
||||
|
||||
glog.Infof("successfully added new vpn client config for %s", clientName)
|
||||
glog.Infof("successfully added new vpn client config for %s with interface ip %s", clientName, ip)
|
||||
return nil
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +0,0 @@
|
|||
[Peer]
|
||||
# friendly_name = Chatbot
|
||||
PublicKey = iOcNe48FpLwOa6jBBs9686K5ViPZmLEaJ7axjGT00Xg=
|
||||
AllowedIPs = 10.3.3.11/32
|
||||
|
||||
|
|
@ -1 +1 @@
|
|||
# DO NOT MANUALLY EDIT THIS LINE. Last IP: 10.3.3.11/24
|
||||
# DO NOT MANUALLY EDIT THIS LINE. Last IP: 10.3.3.10/24
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue