Skip to content

Commit ea65da0

Browse files
Update flagd/pkg/service/flag-evaluation/ofrep/handler.go
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> Signed-off-by: Todd Baert <todd.baert@dynatrace.com>
1 parent d28d649 commit ea65da0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

flagd/pkg/service/flag-evaluation/ofrep/handler.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ func (h *handler) HandleBulkEvaluation(w http.ResponseWriter, r *http.Request) {
140140
if h.versionTracker != nil && ifNoneMatch != "" {
141141
currentETag := h.versionTracker.ETag(selectorExpression)
142142
if currentETag != "" && ifNoneMatch == currentETag {
143-
h.Logger.Debug(fmt.Sprintf("ETag match for selector '%s', returning 304", selectorExpression))
143+
h.Logger.Debug("ETag match, returning 304", zap.String("selector", selectorExpression))
144144
w.Header().Add(headerETag, currentETag)
145145
w.WriteHeader(http.StatusNotModified)
146146
return

0 commit comments

Comments
 (0)