fix: comma ok (#6457)

Signed-off-by: Awadabang <sheunggz@gmail.com>
Co-authored-by: Awadabang <sheunggz@gmail.com>
This commit is contained in:
Awadabang 2024-03-15 22:50:47 +08:00 committed by GitHub
parent 81b54781a2
commit 24756fc507
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -349,7 +349,7 @@ func NotUpdateRenderHashEqual() ApplyOption {
if !ok {
return nil
}
oldSt := existing.(*unstructured.Unstructured)
oldSt, ok := existing.(*unstructured.Unstructured)
if !ok {
return nil
}