Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Nomad
Commits
11c23b94
Commit
11c23b94
authored
7 years ago
by
Alex Dadgar
Browse files
Options
Download
Email Patches
Plain Diff
vet
parent
568c89e4
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
client/fs_endpoint.go
+0
-1
client/fs_endpoint.go
client/structs/structs.go
+1
-1
client/structs/structs.go
nomad/server.go
+1
-1
nomad/server.go
with
2 additions
and
3 deletions
+2
-3
client/fs_endpoint.go
+
0
-
1
View file @
11c23b94
...
...
@@ -30,7 +30,6 @@ var (
pathNotPresentErr
=
fmt
.
Errorf
(
"must provide a file path"
)
taskNotPresentErr
=
fmt
.
Errorf
(
"must provide task name"
)
logTypeNotPresentErr
=
fmt
.
Errorf
(
"must provide log type (stdout/stderr)"
)
clientNotRunning
=
fmt
.
Errorf
(
"node is not running a Nomad Client"
)
invalidOrigin
=
fmt
.
Errorf
(
"origin must be start or end"
)
)
...
...
This diff is collapsed.
Click to expand it.
client/structs/structs.go
+
1
-
1
View file @
11c23b94
...
...
@@ -144,7 +144,7 @@ type FsLogsRequest struct {
// StreamErrWrapper is used to serialize output of a stream of a file or logs.
type
StreamErrWrapper
struct
{
// Error stores any error that may have occured.
// Error stores any error that may have occur
r
ed.
Error
*
RpcError
// Payload is the payload
...
...
This diff is collapsed.
Click to expand it.
nomad/server.go
+
1
-
1
View file @
11c23b94
...
...
@@ -117,7 +117,7 @@ type Server struct {
// all RPC connections
staticEndpoints
endpoints
// streamingRpcs is the regist
e
ry holding our streaming RPC handlers.
// streamingRpcs is the registry holding our streaming RPC handlers.
streamingRpcs
*
structs
.
StreamingRpcRegistery
// nodeConns is the set of multiplexed node connections we have keyed by
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help