Verified Commit acf43036 authored by Alex Buijs's avatar Alex Buijs 🌴
Browse files

Add client_id as KNOWN_KEY to context

parent 8d7fe3ff
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -23,7 +23,7 @@ module Labkit
    RAW_KEYS = [CORRELATION_ID_KEY].freeze
    HEADER_PREFIX = "X-Gitlab-"
    KNOWN_KEYS = %w[user project root_namespace subscription_plan caller_id
                    remote_ip related_class feature_category].freeze
                    remote_ip related_class feature_category client_id].freeze

    class << self
      def with_context(attributes = {})