Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
envsetup
Manage
Activity
Members
Plan
Redmine
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mediaserver
envsetup
Commits
9d3ef3aa
Commit
9d3ef3aa
authored
5 years ago
by
Nicolas KAROLAK
Browse files
Options
Downloads
Patches
Plain Diff
cosmetic
parent
6e666b96
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/test_dns_records.py
+2
-2
2 additions, 2 deletions
tests/test_dns_records.py
with
2 additions
and
2 deletions
tests/test_dns_records.py
+
2
−
2
View file @
9d3ef3aa
...
...
@@ -73,7 +73,7 @@ def check_resolver(conf: dict, resolvers: set, ip: str) -> tuple:
warnings
+=
1
if
not
ip
and
(
not
errors
):
u
.
info
(
"
no
IP set in
configuration
, unable to test DNS
"
)
u
.
info
(
"
no
resolver defined in envsetup
configuration, unable to test DNS
"
)
exit
(
2
)
return
warnings
,
errors
...
...
@@ -111,7 +111,7 @@ def main():
# check that the service is installed on this system
status
,
_
=
subprocess
.
getstatusoutput
(
"
dpkg -s {}
"
.
format
(
package
))
if
status
==
0
:
u
.
info
(
"
-
checking IP of {}
"
.
format
(
domain
))
u
.
info
(
"
checking IP of {}
"
.
format
(
domain
))
check_dns_warn
,
check_dns_err
=
check_dns
(
domain
,
ip
,
resolvers
)
if
check_dns_err
:
errors
+=
check_dns_err
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment