Plugins: Update missed ConversionHandler checks (#92011)
This commit is contained in:
1 parent
ca56f16615
commit
a12b372556
2 files changed
+2
-2
No files matched your search
@@ -955,7 +955,7 @@ func (tp *testPlugin) MutateAdmission(ctx context.Context, req *backend.Admissio
|
||||
|
||||
// ConvertObject implements backend.AdmissionHandler.
|
||||
func (tp *testPlugin) ConvertObjects(ctx context.Context, req *backend.ConversionRequest) (*backend.ConversionResponse, error) {
|
||||
if tp.AdmissionHandler != nil {
|
||||
if tp.ConversionHandler != nil {
|
||||
return tp.ConversionHandler.ConvertObjects(ctx, req)
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user