diff options
author | Narayan Desai <desai@mcs.anl.gov> | 2008-06-09 15:56:41 +0000 |
---|---|---|
committer | Narayan Desai <desai@mcs.anl.gov> | 2008-06-09 15:56:41 +0000 |
commit | 34b24211eb8baddec7daf6fa7ecb151fd9aa82e3 (patch) | |
tree | 7935aa537394f32383e026d2e0dead3cad13a30a /src/sbin/bcfg2-server | |
parent | dc0f82b0b3bce69f9a146126aabf0b2063e64a47 (diff) | |
download | bcfg2-34b24211eb8baddec7daf6fa7ecb151fd9aa82e3.tar.gz bcfg2-34b24211eb8baddec7daf6fa7ecb151fd9aa82e3.tar.bz2 bcfg2-34b24211eb8baddec7daf6fa7ecb151fd9aa82e3.zip |
Change to typed plugin system
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4680 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/sbin/bcfg2-server')
-rwxr-xr-x | src/sbin/bcfg2-server | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sbin/bcfg2-server b/src/sbin/bcfg2-server index 09d2ce619..6cffd2253 100755 --- a/src/sbin/bcfg2-server +++ b/src/sbin/bcfg2-server @@ -100,7 +100,8 @@ class Bcfg2Serv(Bcfg2.Component.Component): name = self.Core.metadata.resolve_client(address) meta = self.Core.metadata.get_metadata(name) - for plugin in self.Core.plugins.values(): + for plugin in [p for p in self.Core.plugins.values() \ + if isinstance(p, Bcfg2.Server.Plugin.ProbingPlugin)]: for probe in plugin.GetProbes(meta): resp.append(probe) return tostring(resp) |