Skip to content

Commit

Permalink
Merge pull request #16409 from juliancheal/add_product_name
Browse files Browse the repository at this point in the history
Added Product name to VMDB::Appliance
  • Loading branch information
carbonin authored Nov 17, 2017
2 parents 013c7b4 + fe184a5 commit 64842b7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/vmdb/appliance.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ def self.log_config_on_startup
Vmdb::Appliance.log_diagnostics
end

def self.PRODUCT_NAME
I18n.t("product.name")
end

def self.log_config(*args)
options = args.extract_options!
fh = options[:logger] || $log
Expand Down

0 comments on commit 64842b7

Please sign in to comment.