True up some spelling
This commit is contained in:
1 parent
b54be8ee9a
commit
7ee8ddba6a
13 files changed
+16
-16
No files matched your search
@@ -5,7 +5,7 @@ import (
|
||||
"google.golang.org/protobuf/encoding/protojson"
|
||||
)
|
||||
|
||||
// JSONMarshaler provides marshaler used for marshalling all proto as JSON
|
||||
// JSONMarshaler provides marshaler used for marshaling all proto as JSON
|
||||
// in a format expected by the user facing controller API.
|
||||
func JSONMarshaler() *runtime.JSONPb {
|
||||
return &runtime.JSONPb{
|
||||
|
||||
@@ -85,7 +85,7 @@ func (ws *workerServiceServer) Status(ctx context.Context, req *pbs.StatusReques
|
||||
|
||||
for _, jobStatus := range req.GetJobs() {
|
||||
switch jobStatus.Job.GetType() {
|
||||
// Check for session cancelation
|
||||
// Check for session cancellation
|
||||
case pbs.JOBTYPE_JOBTYPE_SESSION:
|
||||
si := jobStatus.GetJob().GetSessionInfo()
|
||||
if si == nil {
|
||||
|
||||
Reference in new issue
Block a user