Exemple #1
0
 def get_cluster_plugins_with_tasks(cls, cluster):
     attr_plugins = []
     for plugin_db in cluster.plugins:
         attr_pl = ClusterAttributesPlugin(plugin_db)
         attr_pl.set_cluster_tasks(cluster)
         attr_plugins.append(attr_pl)
     return attr_plugins
Exemple #2
0
 def get_cluster_plugins_with_tasks(cls, cluster):
     attr_plugins = []
     for plugin_db in cluster.plugins:
         attr_pl = ClusterAttributesPlugin(plugin_db)
         attr_pl.set_cluster_tasks(cluster)
         attr_plugins.append(attr_pl)
     return attr_plugins