Skip to content

Commit

Permalink
Merge pull request kubeagi#868 from bjwswang/main
Browse files Browse the repository at this point in the history
fix: odd number of arguments passed as key-value pairs for logging
  • Loading branch information
bjwswang authored Mar 15, 2024
2 parents ec8233b + f150da5 commit 0515f7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/base/knowledgebase_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,7 @@ func (r *KnowledgeBaseReconciler) reconcileFileGroup(ctx context.Context, log lo
r.HasHandledSuccessPath[r.hasHandledPathKey(kb, group, path)] = true
r.mu.Unlock()
fileDetail.UpdateErr(nil, arcadiav1alpha1.FileProcessPhaseSucceeded)
log.Info("handle FileGroup succeeded with timecost %d milliseconds", fileDetail.TimeCost)
log.Info("handle FileGroup succeeded", "timecost(milliseconds)", fileDetail.TimeCost)
}
return errors.Join(errs...)
}
Expand Down

0 comments on commit 0515f7f

Please sign in to comment.