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