Skip to content

Commit

Permalink
fix error formatting
Browse files Browse the repository at this point in the history
Signed-off-by: vsoch <vsoch@users.noreply.github.com>
  • Loading branch information
vsoch committed Jul 19, 2023
1 parent 2419741 commit c851982
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scheduler-plugin/fluence/fluxion/fluxion.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ func (s *Fluxion) Cancel(ctx context.Context, in *pb.CancelRequest) (*pb.CancelR
reserved, at, overhead, mode, err := fluxcli.ReapiCliInfo(s.fctx, int64(in.JobID))

fmt.Println("\n\t----Job Info output---")
fmt.Printf("jobid: %d\nreserved: %t\nat: %d\noverhead: %f\nmode: %s\nerror: %d\n", in.JobID, reserved, at, overhead, mode, err)
fmt.Printf("jobid: %d\nreserved: %t\nat: %d\noverhead: %f\nmode: %s\nerror: %v\n", in.JobID, reserved, at, overhead, mode, err)

fmt.Printf("[GRPCServer] Sending Cancel response %v\n", dr)
return dr, err
Expand All @@ -77,7 +77,7 @@ func (s *Fluxion) Match(ctx context.Context, in *pb.MatchRequest) (*pb.MatchResp

spec, err := ioutil.ReadFile(filename)
if err != nil {
return nil, fmt.Errorf("error reading jobspec: %s", err)
return nil, fmt.Errorf("error reading jobspec: %v", err)
}

fmt.Printf("[GRPCServer] Received Match request %v\n", in)
Expand Down

0 comments on commit c851982

Please sign in to comment.