Skip to content

Commit

Permalink
feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
DanG100 committed Aug 9, 2023
1 parent 51b08f2 commit 470f413
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dataplane/forwarding/fwdport/ports/fake.go
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ type fakeBuilder struct{}
func (fakeBuilder) Build(portDesc *fwdpb.PortDesc, ctx *fwdcontext.Context) (fwdport.Port, error) {
fp, ok := portDesc.Port.(*fwdpb.PortDesc_Fake)
if !ok {
return nil, fmt.Errorf("invalid port type in proto")
return nil, fmt.Errorf("invalid port type in proto, got %T, expected *fwdpb.PortDesc_Fake", portDesc.Port)
}

inFile, err := openFile(fp.Fake.InFile)
Expand Down

0 comments on commit 470f413

Please sign in to comment.