Skip to content

Commit

Permalink
bugfix: fix schedule interface to return an io.reader instead
Browse files Browse the repository at this point in the history
  • Loading branch information
clintjedwards committed May 2, 2023
1 parent 24851d2 commit f3cf23e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions internal/scheduler/scheduler.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
package scheduler

import (
"bufio"
"errors"
"io"
"net"
Expand Down Expand Up @@ -95,7 +94,7 @@ type AttachContainerRequest struct {

type AttachContainerResponse struct {
Conn net.Conn
Reader *bufio.Reader
Reader io.Reader
}

type Engine interface {
Expand Down

0 comments on commit f3cf23e

Please sign in to comment.