2020-11-10 19:08:58 -05:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
class InstanceMetadata
|
2021-05-05 11:10:05 -04:00
|
|
|
attr_reader :version, :revision, :kas
|
2020-11-10 19:08:58 -05:00
|
|
|
|
|
|
|
def initialize(version: Gitlab::VERSION, revision: Gitlab.revision)
|
|
|
|
@version = version
|
|
|
|
@revision = revision
|
2021-05-05 11:10:05 -04:00
|
|
|
@kas = ::InstanceMetadata::Kas.new
|
2020-11-10 19:08:58 -05:00
|
|
|
end
|
|
|
|
end
|