Skip to content

Commit

Permalink
Remove version sort workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
Christopher Swenson committed Aug 25, 2022
1 parent 7eb7f93 commit 43d2e02
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions vault/logical_system.go
Original file line number Diff line number Diff line change
Expand Up @@ -448,11 +448,6 @@ func sortVersionedPlugins(versionedPlugins []pluginutil.VersionedPlugin) {
return left.Name < right.Name
}
if left.Version != right.Version {
if left.Version == "" {
return true
} else if right.Version == "" {
return false
}
return right.SemanticVersion.GreaterThan(left.SemanticVersion)
}

Expand Down

0 comments on commit 43d2e02

Please sign in to comment.