Skip to content

Commit b0da5a8

Browse files
committed
lint
1 parent 1d992f1 commit b0da5a8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

instrumentation/mysql2/lib/opentelemetry/instrumentation/mysql2/patches/statement.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def execute(*args, **kwargs)
2424

2525
def _otel_execute_attributes(args, kwargs)
2626
if config[:db_statement] == :include
27-
{'args' => args.to_s, 'kwargs' => kwargs.to_s}
27+
{ 'args' => args.to_s, 'kwargs' => kwargs.to_s }
2828
else
2929
{}
3030
end

instrumentation/mysql2/test/opentelemetry/instrumentation/mysql2/instrumentation_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@
139139
stmt = client.prepare('SELECT ?')
140140

141141
args = ['abc']
142-
kwargs = {'foo' => 'bar'}
142+
kwargs = { 'foo' => 'bar' }
143143

144144
stmt.execute(*args, **kwargs)
145145
finished_spans = exporter.finished_spans

0 commit comments

Comments
 (0)