(key string)
| 819 | } |
| 820 | |
| 821 | func taskPluginHasFactory(key string) bool { |
| 822 | for _, meta := range jsplugin.DefaultRegistry.Snapshot().Factory { |
| 823 | if meta.Key == key { |
| 824 | return true |
| 825 | } |
| 826 | } |
| 827 | return false |
| 828 | } |
| 829 | |
| 830 | // rejectTaskPluginRoutingConflict answers the request and returns true when |
| 831 | // the plugin about to serve key fails to compile or does not fit the live |
no test coverage detected