Skip to content

Commit

Permalink
Merge pull request #5261 from hashicorp/b-server-api-panic
Browse files Browse the repository at this point in the history
nomad: fix panic when no node conn found
  • Loading branch information
schmichael committed Jan 29, 2019
2 parents 66decf9 + f383434 commit 530993a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nomad/client_fs_endpoint.go
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,7 @@ func (f *FileSystem) stream(conn io.ReadWriteCloser) {
code = helper.Int64ToPtr(404)
}
f.handleStreamResultError(err, code, encoder)
return
}

// Get a connection to the server
Expand Down

0 comments on commit 530993a

Please sign in to comment.