fix: Code optimization about pr #2199
Created by: weili520
Signed-off-by: TheYoungManLi 1512298456@qq.com
What type of PR is this?
/kind bug
What this PR does / why we need it:
the code in the previous pr(#2199) will not be effective.
Which issue(s) this PR fixes:
Fixes #
Special notes for reviewers:
Does this PR introduced a user-facing change?
none
Additional documentation, usage docs, etc.: