Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

do not hand over run context into reporter #133

Merged
merged 1 commit into from
Oct 28, 2016

Conversation

chris-rock
Copy link
Contributor

No description provided.

def send_report(reporter, server, user)
Chef::Log.info "Reporting to #{reporter}"

# TODO: harmonize reporter interface
if reporter == 'chef-visibility'
Collector::ChefVisibility.new(entity_uuid, run_id, run_context.node.name).send_report
Collector::ChefVisibility.new(entity_uuid, run_id, gather_nodeinfo).send_report

Choose a reason for hiding this comment

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

i think only node name was being sent to viz, which is why the tests are complaining

@vjeffrey
Copy link

🌟 🎉 👍 yay!!!!! viz tests are breaking cause it only expects the node name, but +:1: once that's fixed! :)

@chris-rock chris-rock force-pushed the chris-rock/run_context branch from 1e52edd to 6484233 Compare October 28, 2016 13:34
@chris-rock chris-rock merged commit 94a50c8 into master Oct 28, 2016
@chris-rock chris-rock deleted the chris-rock/run_context branch October 28, 2016 13:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants