Skip to content

Commit bb0d4fd

Browse files
authored
Merge pull request #332 from stalleyj/optionsdev
Change of function name
2 parents d6b806f + 558f138 commit bb0d4fd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -259,9 +259,9 @@ module.exports.configure = function(options) {
259259
options.strongTracer ? options.strongTracer.tracer : null;
260260
for (var key in options) {
261261
if(propertyMappings[key]) {
262-
agent.setOptions(propertyMappings[key], options[key]);
262+
agent.setOption(propertyMappings[key], options[key]);
263263
} else {
264-
agent.setOptions(key, options[key]);
264+
agent.setOption(key, options[key]);
265265
}
266266
}
267267

@@ -283,7 +283,7 @@ module.exports.getJSONProfilingMode = function() {
283283
}
284284

285285
module.exports.start = function () {
286-
agent.setOptions(propertyMappings['applicationID'], main_filename);
286+
agent.setOption(propertyMappings['applicationID'], main_filename);
287287
agent.start();
288288
}
289289
module.exports.nodereport = function() {

0 commit comments

Comments
 (0)