int32bit / mistral-actions

A simple tool to discover and manage custom actions for OpenStack Mistral
https://github.com/int32bit/mistral-actions
MIT License
15 stars 2 forks source link

Fix wrong exception and context to create_client method #3

Closed dineshbhor closed 7 years ago

dineshbhor commented 7 years ago

This patch fixes the wrong reference of NotFoundException which is recently changed in mistral by replacing it with the new exception 'DBEntityNotFoundError'. This patch also fixes the issue of TypeError which gets raised if we don't pass context argument to _create_client method of mistral_actions/openstack.py.

int32bit commented 7 years ago

Thanks @dineshbhor!