Skip to content
This repository has been archived by the owner on Feb 11, 2025. It is now read-only.

Commit

Permalink
testing deploy
Browse files Browse the repository at this point in the history
galiri committed Aug 10, 2017
1 parent e3f04dd commit a6cf7b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
@@ -107,7 +107,7 @@ func serveEndpoints(port string, apiYml *string, handler *annotations.Handler, h
if apiYml != nil {
apiEndpoint, err := api.NewAPIEndpointForFile(*apiYml)
if err != nil {
log.WithError(err).WithField("file", *apiYml).Warn("Failed to serve the API Endpoint for this service. Please validate the Swagger YML and the file location.")
log.WithError(err).WithField("file", *apiYml).Warn("Failed to serve the API Endpoint for this service. Please validate the Swagger YML and the file location")
} else {
r.Get(api.DefaultPath, apiEndpoint.ServeHTTP)
}

0 comments on commit a6cf7b0

Please sign in to comment.