Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
11d02351
Unverified
Commit
11d02351
authored
5 years ago
by
Christopher Fujino
Committed by
GitHub
5 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change printStatus calls to printTrace inside MDnsObservatoryDiscovery (#41621)
parent
0e9ce63c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
mdns_discovery.dart
packages/flutter_tools/lib/src/mdns_discovery.dart
+3
-3
No files found.
packages/flutter_tools/lib/src/mdns_discovery.dart
View file @
11d02351
...
...
@@ -51,7 +51,7 @@ class MDnsObservatoryDiscovery {
/// it will return that instance's information regardless of what application
/// the Observatory instance is for.
Future
<
MDnsObservatoryDiscoveryResult
>
query
({
String
applicationId
})
async
{
print
Status
(
'Checking for advertised Dart observatories...'
);
print
Trace
(
'Checking for advertised Dart observatories...'
);
try
{
await
client
.
start
();
final
List
<
PtrResourceRecord
>
pointerRecords
=
await
client
...
...
@@ -92,7 +92,7 @@ class MDnsObservatoryDiscovery {
}
else
{
domainName
=
pointerRecords
[
0
].
domainName
;
}
print
Status
(
'Checking for available port on
$domainName
'
);
print
Trace
(
'Checking for available port on
$domainName
'
);
// Here, if we get more than one, it should just be a duplicate.
final
List
<
SrvResourceRecord
>
srv
=
await
client
.
lookup
<
SrvResourceRecord
>(
...
...
@@ -106,7 +106,7 @@ class MDnsObservatoryDiscovery {
printError
(
'Unexpectedly found more than one observatory report for
$domainName
'
'- using first one (
${srv.first.port}
).'
);
}
print
Status
(
'Checking for authentication code for
$domainName
'
);
print
Trace
(
'Checking for authentication code for
$domainName
'
);
final
List
<
TxtResourceRecord
>
txt
=
await
client
.
lookup
<
TxtResourceRecord
>(
ResourceRecordQuery
.
text
(
domainName
),
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment