Skip to content
This repository has been archived by the owner on Nov 8, 2022. It is now read-only.

SDI-98 #61

Merged
merged 19 commits into from Mar 16, 2015
Merged

SDI-98 #61

merged 19 commits into from Mar 16, 2015

Conversation

lynxbat
Copy link
Contributor

@lynxbat lynxbat commented Mar 5, 2015

Ready for refactor by @danielscottt and @jcooklin

Review on Reviewable

…e.Time). Easier to do operations on the time struct.
* Fixes to plugin
* Fixes to mismapped RPC calls and broken reply structs
* Renamed Collect to CollectMetrics to match GetMettricTypes
* Added a proxy object to make RPC wrapping cleaner
* broke up control/plugin package to be easier to find objects
@lynxbat lynxbat self-assigned this Mar 5, 2015
}

func (a *availablePluginPool) Add(ap *availablePlugin) {
a.mutex.Lock()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

a.Lock()
a.Unlock() to follow the pattern we've been using

@lynxbat
Copy link
Contributor Author

lynxbat commented Mar 13, 2015

Reminder: this PR is not ready for merge. It is awaiting refactoring by @danielscottt and @jcooklin.

Comments of course should continue.

Plugin *loadedPlugin
namespace []string
lastAdvertisedTime time.Time
subscriptions int
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rather UINT ;)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 on uint -- There are lots of places that this needs to be done. @geauxvirtual has also pointed this out.

pittma added a commit that referenced this pull request Mar 16, 2015
@pittma pittma merged commit a21fa58 into intelsdi-x:master Mar 16, 2015
@lynxbat lynxbat deleted the SDI-98 branch April 1, 2015 01:44
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants