* Removes unnecessary set for model component which will be null. * Returns a 404 for a missing node, not a 200 with an empty response. * Updates built-in web assets.
This commit is contained in:
parent
8a52ae9d03
commit
219fb6dd70
File diff suppressed because one or more lines are too long
|
@ -96,7 +96,11 @@ RPC:
|
|||
info.Checks = make([]*structs.HealthCheck, 0)
|
||||
}
|
||||
return info, nil
|
||||
} else {
|
||||
resp.WriteHeader(http.StatusNotFound)
|
||||
return nil, nil
|
||||
}
|
||||
|
||||
return nil, nil
|
||||
}
|
||||
|
||||
|
|
|
@ -356,12 +356,6 @@ App.NodesShowRoute = App.BaseRoute.extend({
|
|||
controller.set('content', models.node);
|
||||
controller.set('sessions', models.sessions);
|
||||
controller.set('tomography', models.tomography);
|
||||
//
|
||||
// Since we have 2 column layout, we need to also display the
|
||||
// list of nodes on the left. Hence setting the attribute
|
||||
// {{nodes}} on the controller.
|
||||
//
|
||||
controller.set('nodes', models.nodes);
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue