Commit 47f71ca
committed
Make dynflow an explicit dependency
Loading the smart_proxy_dynflow (or any Smart Proxy plugin really) in
load_classes does not work due to the way plugin initialization happens.
For this plugin to work, dynflow must be running. This uses requires to
validate that dynflow is actually correctly enabled and running. This
also means that if dynflow was loaded but ended up in a failed state
that REX SSH also ends up in a failed state.1 parent a4e2ae3 commit 47f71ca
File tree
2 files changed
+5
-1
lines changed- lib/smart_proxy_remote_execution_ssh
- test
2 files changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| 63 | + | |
| 64 | + | |
63 | 65 | | |
64 | 66 | | |
65 | 67 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
31 | 33 | | |
32 | 34 | | |
33 | 35 | | |
| |||
0 commit comments