Prepare for GitHub migration
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
ci / release-snapshot (pull_request) Failing after 10m43s
ci / go (pull_request) Failing after 10m44s
ci / actions (pull_request) Failing after 10m45s
ci / ci (pull_request) Failing after 10m45s
ci / goreleaser-check (pull_request) Has been cancelled
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
ci / release-snapshot (pull_request) Failing after 10m43s
ci / go (pull_request) Failing after 10m44s
ci / actions (pull_request) Failing after 10m45s
ci / ci (pull_request) Failing after 10m45s
ci / goreleaser-check (pull_request) Has been cancelled
This commit is contained in:
@@ -52,6 +52,9 @@ func main() {
|
||||
if cmd.Flags().Changed("url") {
|
||||
cfg.PuppetDBURL = pdbURL
|
||||
}
|
||||
if err := cfg.Require("puppetdb_url", "puppetboard_url"); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
loc := time.Local
|
||||
if tz != "" {
|
||||
|
||||
@@ -38,6 +38,9 @@ func main() {
|
||||
if cmd.Flags().Changed("puppetboard-url") {
|
||||
cfg.PuppetboardURL = boardURL
|
||||
}
|
||||
if err := cfg.Require("puppetboard_url"); err != nil {
|
||||
return err
|
||||
}
|
||||
hosts := puppet.ReadHosts(os.Stdin, args)
|
||||
if len(hosts) == 0 {
|
||||
return fmt.Errorf("no hosts given (pass as arguments or pipe node-lookup output)")
|
||||
|
||||
Reference in New Issue
Block a user