Skip to content

Commit

Permalink
fix(platform): cant get isnotfound error by gethelmrelease (#2108)
Browse files Browse the repository at this point in the history
  • Loading branch information
wl-chen authored Oct 13, 2022
1 parent 8202d3c commit 27734eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/util/extenderapi/extenderapi.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ func GetHelmRelease(clientSet client.Client, name, namespace string) (*appsv1alp
key := client.ObjectKeyFromObject(hr)
err := clientSet.Get(context.TODO(), key, hr)
if err != nil {
return nil, fmt.Errorf("get helmrelease %s in %s failed: %v", name, namespace, err)
return nil, err
}
return hr, nil
}

0 comments on commit 27734eb

Please sign in to comment.