mirror of
https://github.com/xpipe-io/xpipe.git
synced 2026-05-29 07:20:35 +00:00
Fix custom agent check [stage]
This commit is contained in:
@@ -99,7 +99,11 @@ public class CustomAgentStrategy implements SshIdentityAgentStrategy {
|
||||
|
||||
@Override
|
||||
public void checkComplete() throws ValidationException {
|
||||
Validators.nonNull(AppPrefs.get().defaultSshAgentSocket().getValue());
|
||||
var agent = AppPrefs.get().sshAgentSocket().getValue();
|
||||
if (agent == null) {
|
||||
agent = AppPrefs.get().defaultSshAgentSocket().getValue();
|
||||
}
|
||||
Validators.nonNull(agent);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
- Fix custom agent SSH auth being broken and marked as incomplete
|
||||
Reference in New Issue
Block a user