Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
vnf-onboarding
OSM Packages
Commits
6534dcce
Commit
6534dcce
authored
Sep 08, 2020
by
lavado
Browse files
Merge branch 'squid-knf' into 'master'
Add minor delay to docker reset - Squid KNF See merge request
!88
parents
84f49688
880ff10f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
magma/hackfest_squid_cnf/charms/squid/src/charm.py
magma/hackfest_squid_cnf/charms/squid/src/charm.py
+1
-1
No files found.
magma/hackfest_squid_cnf/charms/squid/src/charm.py
View file @
6534dcce
...
...
@@ -110,7 +110,7 @@ class SquidK8SCharm(CharmBase):
if
line_deleted
:
event
.
set_results
({
"output"
:
"URL deleted succesfully"
})
subprocess
.
check_output
(
"
kill -HUP `cat /var/run/squid.pid`"
,
shell
=
True
)
subprocess
.
Popen
(
"sleep 1 &&
kill -HUP `cat /var/run/squid.pid`"
,
shell
=
True
)
else
:
event
.
fail
(
"No URL was deleted"
)
...
...
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