(pluginID string, executor pluginapi.ProviderExecutor)
| 979 | } |
| 980 | |
| 981 | func (h *Host) callExecutorIdentifier(pluginID string, executor pluginapi.ProviderExecutor) (provider string, ok bool) { |
| 982 | if h == nil || executor == nil || h.isPluginFused(pluginID) { |
| 983 | return "", false |
| 984 | } |
| 985 | defer func() { |
| 986 | if recovered := recover(); recovered != nil { |
| 987 | h.fusePlugin(pluginID, "Executor.Identifier", recovered) |
| 988 | provider = "" |
| 989 | ok = false |
| 990 | } |
| 991 | }() |
| 992 | return executor.Identifier(), true |
| 993 | } |
| 994 | |
| 995 | func (h *Host) providerHasNativeExecutor(manager executorManager, provider string) bool { |
| 996 | if h == nil || manager == nil { |
no test coverage detected