Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CIRCLE3
/
cloud
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
5
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
A prog2-höz tartozó friss repo anyagok itt elérhetőek:
https://git.iit.bme.hu/
Commit
cc827f1f
authored
Oct 10, 2022
by
Karsa Zoltán István
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
try block
parent
7e3037d9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletions
+4
-1
circle/vm/models/instance.py
+4
-1
No files found.
circle/vm/models/instance.py
View file @
cc827f1f
...
...
@@ -494,7 +494,10 @@ class Instance(AclBase, VirtualMachineDescModel, StatusModel, OperatedMixin,
import
requests
as
req
if
self
.
hookurl
:
logger
.
info
(
"notify remote host (callhookurl): "
+
str
(
self
.
hookurl
))
req
.
post
(
url
=
str
(
self
.
hookurl
))
try
:
req
.
post
(
url
=
str
(
self
.
hookurl
))
except
:
logger
.
info
(
"Error when call hookurl: "
+
str
(
self
.
hookurl
))
def
_update_status
(
self
):
...
...
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