Skip to content

Commit

Permalink
Added User Agent to VMDB::Appliance
Browse files Browse the repository at this point in the history
  • Loading branch information
Julian Cheal committed Nov 22, 2017
1 parent 7ed6dd1 commit 9c21789
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 @@ -24,6 +24,10 @@ def self.PRODUCT_NAME
I18n.t("product.name")
end

def self.USER_AGENT
"#{PRODUCT_NAME}/#{VERSION}".freeze
end

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

0 comments on commit 9c21789

Please sign in to comment.