2021-01-29 00:20:46 +05:30
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
class InstanceMetadata
|
2021-06-08 01:23:25 +05:30
|
|
|
attr_reader :version, :revision, :kas
|
2021-01-29 00:20:46 +05:30
|
|
|
|
|
|
|
def initialize(version: Gitlab::VERSION, revision: Gitlab.revision)
|
|
|
|
@version = version
|
|
|
|
@revision = revision
|
2021-06-08 01:23:25 +05:30
|
|
|
@kas = ::InstanceMetadata::Kas.new
|
2021-01-29 00:20:46 +05:30
|
|
|
end
|
|
|
|
end
|