Skip to content

Fix parsing of binary name from binary version string - #942

Merged
m-1-k-3 merged 1 commit into
e-m-b-a:masterfrom
mj138:patch-2
Dec 5, 2023
Merged

m-1-k-3 merged 1 commit into
e-m-b-a:masterfrom
mj138:patch-2

Conversation

@mj138

@mj138 mj138 commented Dec 5, 2023

Copy link
Copy Markdown
Contributor
  • What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
    Bug fix

  • What is the current behavior? (You can also link to an open issue here)
    Code currently pulls binary name from the first field of the binary version string, like so:

bin_name:version

But in some cases we have an identifier like the following:

vendor:bin_name:version

  • What is the new behavior (if this is a feature change)? If possible add a screenshot.
    Updated code pulls binary name from second to last field of the binary version string, which should better handle cases in which there are 3+ fields, as described above.

  • Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)
    Hopefully not!

  • Other information:

@m-1-k-3 m-1-k-3 added bug Something isn't working EMBA labels Dec 5, 2023

@m-1-k-3 m-1-k-3 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thx for the fix

@m-1-k-3
m-1-k-3 merged commit dc1977f into e-m-b-a:master Dec 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working EMBA

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants