mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
1 parent
19e87b2972
commit
9bd9018625
1 file changed
+1
-1
@@ -267,7 +267,7 @@ export class Cluster implements ClusterModel, ClusterState {
|
|||||||
@action updateModel(model: UpdateClusterModel) {
|
@action updateModel(model: UpdateClusterModel) {
|
||||||
// Note: do not assign ID as that should never be updated
|
// Note: do not assign ID as that should never be updated
|
||||||
|
|
||||||
const { error } = updateClusterModelChecker.validate(model);
|
const { error } = updateClusterModelChecker.validate(model, { allowUnknown: true });
|
||||||
|
|
||||||
if (error) {
|
if (error) {
|
||||||
throw error;
|
throw error;
|
||||||
|
|||||||
Reference in new issue
Block a user