Skip to content

Commit

Permalink
Fix log formatting
Browse files Browse the repository at this point in the history
Co-authored-by: Stephan Hesselmann <shesselm@redhat.com>
  • Loading branch information
parametalol and stehessel committed Dec 15, 2023
1 parent 7335731 commit 15c857e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/dinosaur/pkg/handlers/admin_dinosaur.go
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ func (h adminCentralHandler) PatchExpiredAt(w http.ResponseWriter, r *http.Reque
return nil, errors.NewWithCause(errors.ErrorBadRequest, err, "Cannot parse timestamp: %s", err.Error())
}
}
glog.Warningf("Setting expired_at to %q for central %q: %s", ts, id, reason)
glog.Warningf("Setting expired_at to %q for central %q: %s", expired_at, id, reason)
central := &dbapi.CentralRequest{Meta: api.Meta{ID: id}}
return nil, h.service.Updates(central, map[string]interface{}{
"expired_at": &expired_at,
Expand Down

0 comments on commit 15c857e

Please sign in to comment.