Add a note why oldConfig can be null

This commit is contained in:
Girish Ramakrishnan
2015-08-17 10:05:07 -07:00
parent 2059152dd3
commit 2386545814
+1
View File
@@ -671,6 +671,7 @@ function restore(app, callback) {
// note that configure is called after an infra update as well
function configure(app, callback) {
// oldConfig can be null during an infra update
var locationChanged = app.oldConfig ? app.oldConfig.location !== app.location : true;
async.series([