Skip to content

Commit

Permalink
fix warning log
Browse files Browse the repository at this point in the history
  • Loading branch information
martha-johnston committed Jan 22, 2025
1 parent 15a9f79 commit 21da7d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/robot/client.dart
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ class RobotClient {
..model = sdkQuery.model
..extra = sdkQuery.extraStruct));

log("RobotClient.discoverComponents is deprecated. It will be removed on March 10 2025. Use the DiscoveryService APIs instead.");
_logger.w("RobotClient.discoverComponents is deprecated. It will be removed on March 10 2025. Use the DiscoveryService APIs instead.");
final response = await _client.discoverComponents(request);
return response.discovery.map((d) => Discovery.fromProto(d)).toList();
}
Expand Down

0 comments on commit 21da7d5

Please sign in to comment.