it's a string, dummy
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Torma Kristóf 2020-12-06 19:54:25 +01:00
parent 258e0154fa
commit 19337e287e

View File

@ -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)