-
Notifications
You must be signed in to change notification settings - Fork 897
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added User Agent to VMDB::Appliance #16410
Conversation
lib/vmdb/appliance.rb
Outdated
end | ||
|
||
def self.USER_AGENT | ||
"#{self.PRODUCT_NAME}/#{self.VERSION}".freeze |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cool...you don't need the self.
bits.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can never remember if an when you need self
6cf1c34
to
63ace8d
Compare
63ace8d
to
698f0bb
Compare
This pull request is not mergeable. Please rebase and repush. |
698f0bb
to
9c21789
Compare
@Fryguy hadn't noticed this was marked as unmergable. Rebased and all good now. |
Checked commit juliancheal@9c21789 with ruby 2.3.3, rubocop 0.47.1, haml-lint 0.20.0, and yamllint 1.10.0 lib/vmdb/appliance.rb
|
Added User Agent to VMDB::Appliance (cherry picked from commit e3b166f)
Gaprindashvili backport details:
|
Follow on PR from #16409 adding a user agent string.