Skip to content

Commit

Permalink
Removed unnecessary changes
Browse files Browse the repository at this point in the history
  • Loading branch information
harshit-splunk committed Sep 24, 2021
1 parent 2fab102 commit 39d3254
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions splunknozzle/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package splunknozzle
import (
"encoding/json"
"fmt"
"strings"
"time"

"github.com/cloudfoundry-community/splunk-firehose-nozzle/events"
Expand Down Expand Up @@ -146,8 +145,6 @@ func NewConfigFromCmdFlags(version, branch, commit, buildos string) *Config {
OverrideDefaultFromEnvar("STATUS_MONITOR_INTERVAL").Default("0s").DurationVar(&c.StatusMonitorInterval)

kingpin.Parse()
c.ApiEndpoint = strings.TrimSpace(c.ApiEndpoint)
c.SplunkHost = strings.TrimRight(strings.TrimSpace(c.SplunkHost), "/")
return c
}

Expand Down

0 comments on commit 39d3254

Please sign in to comment.