Skip to content

Commit

Permalink
libgit2: fix managed transport enabled flag updation
Browse files Browse the repository at this point in the history
Signed-off-by: Sanskar Jaiswal <[email protected]>
  • Loading branch information
aryan9600 committed Jun 10, 2022
1 parent f6a389c commit 494d9e8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pkg/git/libgit2/managed/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,9 @@ func InitManagedTransport(log logr.Logger) error {
return
}

err = registerManagedSSH()
enabled = true
if err = registerManagedSSH(); err != nil {
enabled = true
}
})

return err
Expand Down

0 comments on commit 494d9e8

Please sign in to comment.