Skip to content

Commit

Permalink
fix loading wsdl from file
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikita Koryabkin committed Apr 10, 2019
1 parent b368807 commit a34f915
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wsdl.go
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ func getWsdlBody(u string) (reader io.ReadCloser, err error) {
return nil, err
}
if parse.Scheme == "file" {
outFile, err := os.OpenFile(parse.Path, os.O_RDONLY, 0444)
outFile, err := os.Open(parse.Path)
if err != nil {
return nil, err
}
Expand Down

0 comments on commit a34f915

Please sign in to comment.