refactor: remove unused code in the function

This commit is contained in:
JimySheepman
2025-04-28 21:09:59 +03:00
parent 90e1f24510
commit b8f48dbdbf
-3
View File
@@ -38,9 +38,6 @@ func (s *Service) MutateAdmission(ctx context.Context, req *backend.AdmissionReq
if err != nil {
return nil, err
}
if settings == nil {
return getBadRequest("missing datasource settings"), nil
}
switch settings.APIVersion {
case "", "v0alpha1":