Automatic merge from submit-queue simplify if and else for code Signed-off-by: allencloud <allen.sun@daocloud.io> **What this PR does / why we need it**: This PR tries to simplify the code of if and else, and this could make code a little bit cleaner. **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes # NONE **Special notes for your reviewer**: NONE **Release note**: ```release-note NONE ```
34 KiB
34 KiB