Skip to content

Commit

Permalink
chore: remove logs
Browse files Browse the repository at this point in the history
  • Loading branch information
anomit committed Nov 9, 2023
1 parent 8beac43 commit 8b14451
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions go/goutils/settings/settings.go
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,6 @@ type SettingsObj struct {

// ParseSettings parses the settings.json file and returns a SettingsObj
func ParseSettings() *SettingsObj {
log.Debug("parsing settings")

v := validator.New()

Expand All @@ -163,8 +162,6 @@ func ParseSettings() *SettingsObj {
panic(err)
}

log.Debug("settings json data is", string(data))

err = json.Unmarshal(data, settingsObj)
if err != nil {
log.Error("cannot unmarshal the settings json ", err)
Expand All @@ -177,7 +174,6 @@ func ParseSettings() *SettingsObj {
}

SetDefaults(settingsObj)
log.Infof("final Settings Object being used %+v", settingsObj)

err = gi.Inject(settingsObj)
if err != nil {
Expand Down

0 comments on commit 8b14451

Please sign in to comment.