Skip to content

Commit

Permalink
Restores double * to pass settings as interface
Browse files Browse the repository at this point in the history
  • Loading branch information
CarlosNihelton committed Sep 15, 2023
1 parent 96f164c commit 0c60a9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mocks/storeserver/storeserver/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (

func serverFactory(settings restserver.Settings) restserver.Server {
//nolint:forcetypeassert // Let the type coersion panic on failure.
return storemockserver.NewServer(settings.(storemockserver.Settings))
return storemockserver.NewServer(*settings.(*storemockserver.Settings))
}

func main() {
Expand Down

0 comments on commit 0c60a9e

Please sign in to comment.