Closes-Bug: #1721406 - Handle edge case where the generated heat encryption key contains only numbers
If all 16 randomly generated characters are numbers, then puppet fails as it expects the value to be a string
Patch:
Use isdigit instead of isinstance()
Reviewed: https:/ /review. opencontrail. org/38746 github. com/Juniper/ contrail- server- manager/ commit/ 723ee26bd76cd37 da55b38d73a73c0 34871cde90
Committed: http://
Submitter: Zuul (<email address hidden>)
Branch: R4.1
commit 723ee26bd76cd37 da55b38d73a73c0 34871cde90
Author: nitishkrishna <email address hidden>
Date: Mon Jan 8 15:16:38 2018 -0800
Closes-Bug: #1721406 - Handle edge case where the generated heat encryption key contains only numbers
If all 16 randomly generated characters are numbers, then puppet fails as it expects the value to be a string
Patch:
Use isdigit instead of isinstance()
Change-Id: Icbfb5da24260bc 3fbb44536d1890d 2b9454cda0f