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

Fix regression when uploading compliance profiles #2264

Merged
merged 1 commit into from
Oct 24, 2017
Merged

Conversation

jerryaldrichiii
Copy link
Contributor

When passing options to Train we need to ensure we do not pass the 'target' key. See: #1646

NOTE: When running inspec exec the key is :target so it is not removed, but since options[:backend] already exists this is not an issue.

When passing options to `Train` we need to ensure we do not pass the
`'target'` key. See: #1646

NOTE: When running `inspec exec` the key is `:target` so it is not
removed, but since `options[:backend]` already exists this is not an
issue.

Signed-off-by: Jerry Aldrich <[email protected]>
Copy link
Contributor

@adamleff adamleff left a comment

Choose a reason for hiding this comment

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

We will eventually need to circle back on how we handle options hashes like this, but this is the right solution given the current design. Thank you @jerryaldrichiii!

@adamleff adamleff added the Type: Bug Feature not working as expected label Oct 24, 2017
@adamleff adamleff changed the title Fix regression regarding profile upload Fix regression when uploading compliance profiles Oct 24, 2017
@adamleff adamleff merged commit a4cd589 into master Oct 24, 2017
@adamleff adamleff deleted the ja/fix-tri-568 branch October 24, 2017 20:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Feature not working as expected
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants