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:
parent
19e87b2972
commit
9bd9018625
@ -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;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user