mirror of
https://github.com/weaveworks/scope.git
synced 2026-08-23 22:36:24 +00:00
iowait example plugin should remove the socket when done
This commit is contained in:
@@ -102,6 +102,7 @@ func (r *Registry) scan() error {
|
||||
}
|
||||
client := &http.Client{Transport: tr, Timeout: pluginTimeout}
|
||||
plugins[path] = NewPlugin(r.context, path, client, r.apiVersion, r.handshakeMetadata)
|
||||
log.Infof("plugins: added plugin %s", path)
|
||||
}
|
||||
// remove plugins which weren't found
|
||||
for path, plugin := range r.pluginsBySocket {
|
||||
|
||||
Reference in New Issue
Block a user