routing+autopilot: rename mission control store var
To clearly separate the mission control DB store (which for now will remain kvdb only) from the graph store, we rename the `graphBackend` variable to `mcBackend` in the `testGraphInstance` struct.
This commit is contained in:
2 files changed
+15
-15
No files matched your search
@@ -123,7 +123,7 @@ func createTestCtxFromGraphInstanceAssumeValid(t *testing.T,
|
||||
mcConfig := &MissionControlConfig{Estimator: estimator}
|
||||
|
||||
mcController, err := NewMissionController(
|
||||
graphInstance.graphBackend, route.Vertex{}, mcConfig,
|
||||
graphInstance.mcBackend, route.Vertex{}, mcConfig,
|
||||
)
|
||||
require.NoError(t, err, "failed to create missioncontrol")
|
||||
|
||||
|
||||
Reference in new issue
Block a user