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

Fixes #12702: Method copyResourceFile is quite inefficient #1973

Conversation

ncharles
Copy link
Member

, destination: String
, content : String //template resource as a file
) extends HashcodeCaching {
override def toString() = s"Promise resource ${id.name}; destination ${destination}"
Copy link
Member

Choose a reason for hiding this comment

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

Can you use something else then "promise" here? Technique resource, or policy resource.

Copy link
Member Author

Choose a reason for hiding this comment

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

ok, renaming previous message also then

@fanf
Copy link
Member

fanf commented Jun 27, 2018

Appart for the little comment, this is a very nice pr!

Oh: could you try to align "<-" too?

@ncharles
Copy link
Member Author

Commit modified

@ncharles ncharles force-pushed the bug_12702/method_copyresourcefile_is_quite_inefficient branch 2 times, most recently from aa61ede to 8c4aed8 Compare June 27, 2018 10:05
@ncharles
Copy link
Member Author

Commit modified

@ncharles
Copy link
Member Author

Commit modified

@ncharles ncharles force-pushed the bug_12702/method_copyresourcefile_is_quite_inefficient branch from 8c4aed8 to 3ace7e9 Compare June 27, 2018 10:06
@Normation-Quality-Assistant
Copy link
Contributor

This PR is not mergeable to upper versions.
Since it is "Ready for merge" you must merge it by yourself using the following command:
rudder-dev merge https://github.com/Normation/rudder/pull/1973
-- Your faithful QA

@ncharles
Copy link
Member Author

OK, merging this PR

@ncharles ncharles merged commit 3ace7e9 into Normation:branches/rudder/4.1 Jun 27, 2018
@ncharles
Copy link
Member Author

OK, merging this PR

1 similar comment
@ncharles
Copy link
Member Author

OK, merging this PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants