print client name on success [CI SKIP]

This commit is contained in:
viktorbarzin 2021-03-17 21:47:27 +00:00
parent 1a55f6a948
commit bf78be47b8
4 changed files with 2 additions and 8 deletions

View file

@ -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})
}

View file

@ -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
}

View file

@ -1,5 +0,0 @@
[Peer]
# friendly_name = Chatbot
PublicKey = iOcNe48FpLwOa6jBBs9686K5ViPZmLEaJ7axjGT00Xg=
AllowedIPs = 10.3.3.11/32

View file

@ -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