We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a4f19d8 commit 18eda43Copy full SHA for 18eda43
packages/manager/src/mocks/presets/crud/handlers/locks.ts
@@ -69,17 +69,6 @@ const validateLockCreation = async (
69
return { reason: 'The specified entity could not be found.' };
70
}
71
72
- // Check if Linode belongs to an LKE cluster
73
- if (entity_type === 'linode' && entity) {
74
- const linodeEntity = entity as { lke_cluster_id?: null | number };
75
- if (linodeEntity.lke_cluster_id) {
76
- return {
77
- field: 'entity_id',
78
- reason: 'Linode belongs to an LKE Cluster',
79
- };
80
- }
81
82
-
83
// Check if entity already has a lock of conflicting type
84
const existingLocks = await mswDB.getAll('locks');
85
if (existingLocks) {
0 commit comments