1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Fix tests

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton 2021-12-06 19:28:11 -05:00
parent 19e87b2972
commit 9bd9018625

View File

@ -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;