Skip to content

Commit

Permalink
fix after rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
ukclivecox authored and seldondev committed May 18, 2020
1 parent 2f14964 commit dc6e7ea
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@ func TestOverrideMetricsPortName(t *testing.T) {
Predictors: []PredictorSpec{
{
Name: "p1",
Graph: &PredictiveUnit{
Graph: PredictiveUnit{
Name: "classifier",
Implementation: &impl,
},
Expand All @@ -418,7 +418,7 @@ func TestOverrideMetricsPortName(t *testing.T) {
g.Expect(defaultMetricsPort).To(BeNil())

// Graph
pu := GetPredictiveUnit(spec.Predictors[0].Graph, "classifier")
pu := GetPredictiveUnit(&spec.Predictors[0].Graph, "classifier")
g.Expect(pu).ToNot(BeNil())
g.Expect(pu.Endpoint.Type).To(Equal(REST))
g.Expect(*pu.Type).To(Equal(MODEL))
Expand Down Expand Up @@ -933,4 +933,4 @@ func TestPredictorNoGraph(t *testing.T) {
spec.DefaultSeldonDeployment("mydep", "default")
err := spec.ValidateSeldonDeployment()
g.Expect(err).ToNot(BeNil())
}
}

0 comments on commit dc6e7ea

Please sign in to comment.