This commit is contained in:
parent
258e0154fa
commit
19337e287e
@ -424,7 +424,7 @@ class ManipulateStreamResource(Resource):
|
||||
try:
|
||||
db.session.delete(streamreousrce)
|
||||
db.session.commit()
|
||||
Kubectl(name=streamreousrce.id, resourcetype=streamreousrce.resource_type).delete_resource()
|
||||
Kubectl(name=streamreousrce.id, resourcetype=str(streamreousrce.resource_type)).delete_resource()
|
||||
except Exception as e:
|
||||
current_app.logger.exception(e)
|
||||
abort(410, DB_ERROR_MSG)
|
||||
|
Loading…
Reference in New Issue
Block a user