Skip to content

Commit

Permalink
Fix test.
Browse files Browse the repository at this point in the history
  • Loading branch information
Joerger committed Oct 13, 2023
1 parent 1fcb1bc commit 608b436
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tool/tsh/common/db.go
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,6 @@ func listDatabasesAllClusters(cf *CLIConf) error {
mu.Unlock()

return nil

})
}

Expand Down Expand Up @@ -1526,7 +1525,7 @@ func (r *dbLocalProxyRequirement) addLocalProxyWithTunnel(reasons ...string) {
// for a given database.
func getDBLocalProxyRequirement(tc *client.TeleportClient, route tlsca.RouteToDatabase) *dbLocalProxyRequirement {
var out dbLocalProxyRequirement
if tc.PrivateKeyPolicy != keys.PrivateKeyPolicyNone {
if tc.PrivateKeyPolicy.IsHardwareKeyPolicy() {
out.addLocalProxyWithTunnel(formatKeyPolicyReason(tc.PrivateKeyPolicy))
}

Expand Down

0 comments on commit 608b436

Please sign in to comment.