Skip to content
This repository has been archived by the owner on May 20, 2024. It is now read-only.

Commit

Permalink
ADD OVH providers
Browse files Browse the repository at this point in the history
  • Loading branch information
azrod committed Dec 21, 2021
1 parent b2c704a commit 97d5c63
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,23 @@ func main() {

}

if c.OVHAccount.Enable {

Povh := uip_ovh.Povh{
Record: c.OVHAccount.Record,
Secret: c.OVHAccount.Secret,
}

if err := Povh.NewClient(); err != nil {
log.Fatal().Err(err).Msg("Failed to setup OVH client")
}

if err := Povh.Run(); err != nil {
log.Error().Err(err).Msg("Error on module OVH")
}

}

sigs := make(chan os.Signal, 1)
signal.Notify(sigs, syscall.SIGINT, syscall.SIGTERM)

Expand Down

0 comments on commit 97d5c63

Please sign in to comment.