mirror of
https://github.com/containers/podman.git
synced 2025-11-30 10:07:33 +08:00
Remove hardcoded refs from ociartifact code
Fixes: https://issues.redhat.com/browse/RUN-3578 Signed-off-by: Nicola Sella <nsella@redhat.com>
This commit is contained in:
4
vendor/github.com/pkg/sftp/request-server.go
generated
vendored
4
vendor/github.com/pkg/sftp/request-server.go
generated
vendored
@@ -148,7 +148,7 @@ func (rs *RequestServer) serveLoop(pktChan chan<- orderedRequest) error {
|
||||
|
||||
var err error
|
||||
var pkt requestPacket
|
||||
var pktType uint8
|
||||
var pktType fxp
|
||||
var pktBytes []byte
|
||||
|
||||
for {
|
||||
@@ -158,7 +158,7 @@ func (rs *RequestServer) serveLoop(pktChan chan<- orderedRequest) error {
|
||||
return err
|
||||
}
|
||||
|
||||
pkt, err = makePacket(rxPacket{fxp(pktType), pktBytes})
|
||||
pkt, err = makePacket(rxPacket{pktType, pktBytes})
|
||||
if err != nil {
|
||||
switch {
|
||||
case errors.Is(err, errUnknownExtendedPacket):
|
||||
|
||||
Reference in New Issue
Block a user