Handling the case where etcdSnapshotRestore isn't defined

https://github.com/rancher/dashboard/issues/4221
This commit is contained in:
Cody Jackson 2021-09-20 17:39:01 -07:00
parent 9b0f9d694b
commit 5ef8e25dbb
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ export default {
await this.applyHooks(BEFORE_SAVE_HOOKS);
const now = cluster.spec?.rkeConfig?.etcdSnapshotRestore.generation || 0;
const now = cluster.spec?.rkeConfig?.etcdSnapshotRestore?.generation || 0;
let s3; // = undefined;