Skip to content

Commit

Permalink
fix(bastion): use target db instead of first result (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
meeehdi-dev authored Nov 3, 2023
1 parent c275732 commit a266cd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/torpedo/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ func main() {

spin.Suffix = " starting proxy to " + color.BlueString(*target.DBInstanceIdentifier)
slog.Info("starting bastion", "target", *target.DBInstanceIdentifier)
_, ip, err := b.Start(b.DBS[0], c.PublicKey())
_, ip, err := b.Start(target, c.PublicKey())
if err != nil {
return err
}
Expand Down

0 comments on commit a266cd9

Please sign in to comment.