Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
Odoo scripts
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Container Registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
XCG
Odoo scripts
Commits
e9c6cc6f3cd2
Commit
e9c6cc6f3cd2
authored
2 years ago
by
Vincent Hatakeyama
Browse files
Options
Downloads
Patches
Plain Diff
Update URI to expected value in recent redner module
parent
6737d378635e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!128
📝 Update URI to expected value in recent redner module
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
odoo_scripts/docker_rednerd.py
+4
-4
4 additions, 4 deletions
odoo_scripts/docker_rednerd.py
with
4 additions
and
4 deletions
odoo_scripts/docker_rednerd.py
+
4
−
4
View file @
e9c6cc6f
...
...
@@ -25,5 +25,5 @@
_logger
=
logging
.
getLogger
(
__name__
)
__version__
=
"
1.
0
.0
"
__version__
=
"
1.
1
.0
"
__date__
=
"
2021-01-14
"
...
...
@@ -29,5 +29,5 @@
__date__
=
"
2021-01-14
"
__updated__
=
"
2022-08-
11
"
__updated__
=
"
2022-08-
25
"
MIGRATE
=
"
migrate
"
ADMIN_PASSWORD
=
"
admin-password
"
...
...
@@ -198,6 +198,6 @@
base_url
=
None
if
hasattr
(
self
,
"
socket_path
"
):
session
=
requests_unixsocket
.
Session
()
base_url
=
"
http+unix://{}
/api
"
.
format
(
quote
(
self
.
socket_path
,
safe
=
""
))
base_url
=
"
http+unix://{}
"
.
format
(
quote
(
self
.
socket_path
,
safe
=
""
))
elif
hasattr
(
self
,
"
redner_port
"
):
session
=
requests
.
sessions
.
Session
()
...
...
@@ -202,6 +202,6 @@
elif
hasattr
(
self
,
"
redner_port
"
):
session
=
requests
.
sessions
.
Session
()
base_url
=
f
"
http://localhost:
{
self
.
redner_port
}
/api
"
base_url
=
f
"
http://localhost:
{
self
.
redner_port
}
"
# if there is neither port or socket, no session nor base_url
if
not
self
.
attach
:
process
=
Process
(
target
=
DockerClient
.
print_log
,
args
=
(
self
.
container
,))
...
...
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