From 3fa9366494010dd3a05ac03d8f343cce1bb3354c Mon Sep 17 00:00:00 2001 From: Les Aker Date: Thu, 26 Jan 2023 22:57:18 -0500 Subject: [PATCH] simplify prospectus --- go.mod | 2 +- go.sum | 4 ++-- main.go | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/go.mod b/go.mod index 3d42399..de17f1a 100644 --- a/go.mod +++ b/go.mod @@ -2,7 +2,7 @@ module github.com/akerl/prospectus-static go 1.19 -require github.com/akerl/prospectus/v3 v3.0.0 +require github.com/akerl/prospectus/v3 v3.0.1 require ( github.com/ghodss/yaml v1.0.0 // indirect diff --git a/go.sum b/go.sum index ed35593..639b771 100644 --- a/go.sum +++ b/go.sum @@ -1,5 +1,5 @@ -github.com/akerl/prospectus/v3 v3.0.0 h1:99fAifpUmx2Ci38kM7bFSVOpYnognIwIfsrIVrD+0+8= -github.com/akerl/prospectus/v3 v3.0.0/go.mod h1:9kryC2hxZtzi2SKI/UIBgXVOx0hladf2qDzkcW+xMe0= +github.com/akerl/prospectus/v3 v3.0.1 h1:4AsrBFXhN2D1cjNBRl1I9OwrOJ7KgLhi0lcdMbx0BH4= +github.com/akerl/prospectus/v3 v3.0.1/go.mod h1:9kryC2hxZtzi2SKI/UIBgXVOx0hladf2qDzkcW+xMe0= github.com/ghodss/yaml v1.0.0 h1:wQHKEahhL6wmXdzwWG11gIVCkOv05bNOh+Rxn0yngAk= github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= diff --git a/main.go b/main.go index 45aa83f..7372ce2 100644 --- a/main.go +++ b/main.go @@ -22,7 +22,7 @@ func run(cfg config) error { func main() { cfg := config{} - err := plugin.ParseConfig(&cfg) + _, err := plugin.ParseConfig(&cfg) if err != nil { fmt.Fprintf(os.Stderr, "failed to load config: %s", err) os.Exit(1)