Commit fdbdf500 authored by Sean McGivern's avatar Sean McGivern 🔴
Browse files

Merge branch 'bvl-add-related-class' into 'master'

Add a related_class field to the context

See merge request gitlab-org/labkit-ruby!32
parents 23f4c414 198b0646
Loading
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -21,7 +21,8 @@ module Labkit
    LOG_KEY = "meta"
    CORRELATION_ID_KEY = "correlation_id"
    RAW_KEYS = [CORRELATION_ID_KEY].freeze
    KNOWN_KEYS = %w[user project root_namespace subscription_plan caller_id].freeze
    KNOWN_KEYS = %w[user project root_namespace subscription_plan caller_id
                    related_class].freeze

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