Commit 30e6856
committed
Fix root daemon access when running with embedded root daemon
When the user daemon runs with an embedded root daemon (e.g., in Docker
mode), calls to RootDaemonVersion and withRootDaemon failed because they
didn't account for the in-process root session. RootDaemonVersion now
returns the local version directly, and withRootDaemon delegates to the
session's WithRootClient when a session is available.
Signed-off-by: Thomas Hallgren <thomas@tada.se>1 parent 21e6a33 commit 30e6856
2 files changed
+10
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
448 | 448 | | |
449 | 449 | | |
450 | 450 | | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
451 | 454 | | |
452 | 455 | | |
453 | 456 | | |
| |||
631 | 634 | | |
632 | 635 | | |
633 | 636 | | |
| 637 | + | |
| 638 | + | |
| 639 | + | |
| 640 | + | |
| 641 | + | |
| 642 | + | |
634 | 643 | | |
635 | 644 | | |
636 | 645 | | |
| |||
0 commit comments