Skip to content

Commit

Permalink
change log level
Browse files Browse the repository at this point in the history
  • Loading branch information
shashank-huddedar committed Jan 21, 2024
1 parent 81b753c commit c3e7907
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion store/schedule.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ import (
"github.com/gocql/gocql"
"github.com/golang/glog"
"github.com/myntra/goscheduler/conf"
"github.com/myntra/goscheduler/constants"
"github.com/myntra/goscheduler/cron"
"github.com/myntra/goscheduler/util"
"time"
Expand Down Expand Up @@ -126,7 +127,7 @@ func (s Schedule) GetCallbackDetails() string {
}

func (s *Schedule) CreateScheduleFromCassandraMap(m map[string]interface{}) error {
glog.Infof("Map: %+v", m)
glog.V(constants.INFO).Infof("Map: %+v", m)
if len(m) == 0 {
return nil
}
Expand Down Expand Up @@ -358,6 +359,7 @@ func (s *Schedule) UnmarshalJSON(data []byte) error {
}

func (s *Schedule) ValidateSchedule(app App, conf conf.AppLevelConfiguration) []string {
glog.V(constants.INFO).Infof("ValidateSchedule: %+v", s)
var errs []string

if errStr := validateField(s.AppId, "appId"); errStr != "" {
Expand Down

0 comments on commit c3e7907

Please sign in to comment.