From 20d9335f564066d3b47cef6956bf4ea4c7032e64 Mon Sep 17 00:00:00 2001 From: Eamon Bauman <eamon@eamonbauman.com> Date: Thu, 19 May 2022 12:42:08 -0500 Subject: [PATCH] cleaned up client examples --- example/client-async/main.go | 2 +- example/client-blocking/main.go | 2 +- example/client-standalone/main.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/example/client-async/main.go b/example/client-async/main.go index 154cea3..d4c26fc 100644 --- a/example/client-async/main.go +++ b/example/client-async/main.go @@ -30,7 +30,7 @@ func main() { logrus.Infof("calling license client async") notify := make(chan bool, 1) - licenseClient.LicenseAsync("stigatron.compliance.cattle.io", "nodes", 5, notify, "") + licenseClient.LicenseAsync("my.app.domain", "nodes", 5, notify, "") go func() { licensed := <-notify diff --git a/example/client-blocking/main.go b/example/client-blocking/main.go index aadf92b..4e5914e 100644 --- a/example/client-blocking/main.go +++ b/example/client-blocking/main.go @@ -27,7 +27,7 @@ func main() { logrus.Infof("calling license client async") - result := licenseClient.License("stigatron.compliance.cattle.io", "sdfsdfsdf", 5, "") + result := licenseClient.License("my.app.domain", "nodes", 5, "") if result { logrus.Info("success! licensed") } else { diff --git a/example/client-standalone/main.go b/example/client-standalone/main.go index da1e207..12d134d 100644 --- a/example/client-standalone/main.go +++ b/example/client-standalone/main.go @@ -20,7 +20,7 @@ func main() { logrus.Infof("starting standalone licensing client") logrus.Infof("this client will search for a license secret and become either licensed or not (or error)") - licensed, err := client.Standalone("", "stigatron.compliance.cattle.io", "nodes", 5) + licensed, err := client.Standalone("", "my.app.domain", "nodes", 5) if err != nil { logrus.Fatal(err)