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/38747 github. com/Juniper/ contrail- server- manager/ commit/ 278d31f73d8b2b4 f5070e1352439cb 1e6d016b81
Committed: http://
Submitter: Zuul (<email address hidden>)
Branch: R4.0
commit 278d31f73d8b2b4 f5070e1352439cb 1e6d016b81
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