Skip to content

Commit

Permalink
fix(agent): remove spew.Dump debugging function
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuar committed Jul 3, 2023
1 parent fb7d405 commit d1103d8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions internal/agent/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import (
"time"

"fyne.io/fyne/v2"
"github.com/davecgh/go-spew/spew"
"github.com/go-playground/validator/v10"
"github.com/rs/zerolog/log"
"golang.org/x/mod/semver"
Expand Down Expand Up @@ -108,7 +107,6 @@ func (c *agentConfig) Validate() error {
}

value, _ = c.Get("websocketURL")
spew.Dump(value)
if c.validator.Var(value, "required,url") != nil {
return errors.New("websocketURL does not match either a URL, hostname or hostname:port")
}
Expand Down

0 comments on commit d1103d8

Please sign in to comment.