Skip to content

User-agent related cherry-picks for 1.4.3#8206

Merged
zjs merged 2 commits intovmware:releases/1.4.3from
zjs:cherry/user-agent
Aug 10, 2018
Merged

User-agent related cherry-picks for 1.4.3#8206
zjs merged 2 commits intovmware:releases/1.4.3from
zjs:cherry/user-agent

Conversation

@zjs
Copy link
Member

@zjs zjs commented Aug 10, 2018

session: Note operations which omit UserAgent (#7887)

Log a message (at debug, since this indicates a programming error, not
something a user could address) any time we create a Session without
specifying a UserAgent.

Specify a UserAgent in several places where we were not doing so.

(cherry picked from commit ff1db6e)

Update admiral user-agent to allow differentiation

This ensures that each vmomi client has a unique user-agent string so it
is possible to link vmomi sessions back to the originating component
within a VCH. The only user-agent that needed updating was the one used to
pull project specific configuration from admiral/harbor.

This follows on from PR #7887

(cherry picked from commit 686535b)


Like any PR which cherry-picks multiple commits, this should be merged using the "Rebase & Merge" option (not "Squash & Merge").

@zjs zjs self-assigned this Aug 10, 2018
@zjs zjs requested a review from hickeng August 10, 2018 22:34
zjs and others added 2 commits August 10, 2018 15:34
)

Log a message (at debug, since this indicates a programming error, not
something a user could address) any time we create a Session without
specifying a UserAgent.

Specify a UserAgent in several places where we were not doing so.

(cherry picked from commit ff1db6e)
This ensures that each vmomi client has a unique user-agent string so it
is possible to link vmomi sessions back to the originating component
within a VCH. The only user-agent that needed updating was the one used to
pull project specific configuration from admiral/harbor.

This follows on from PR vmware#7887

(cherry picked from commit 686535b)
@zjs zjs force-pushed the cherry/user-agent branch from 2dc8c06 to a90d5d5 Compare August 10, 2018 22:34
@zjs zjs merged commit e22cf88 into vmware:releases/1.4.3 Aug 10, 2018
zjs added a commit that referenced this pull request Aug 10, 2018
Log a message (at debug, since this indicates a programming error, not
something a user could address) any time we create a Session without
specifying a UserAgent.

Specify a UserAgent in several places where we were not doing so.

(cherry picked from commit ff1db6e)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants