Skip to content
This repository has been archived by the owner on Jul 5, 2022. It is now read-only.

Commit

Permalink
Merge pull request #31 from jschwinger23/zc/inspect
Browse files Browse the repository at this point in the history
Must be able to inspect normal containers
  • Loading branch information
jschwinger233 authored Jul 2, 2021
2 parents b642bf7 + dff3859 commit 05efc8b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions proxy/docker/inspect.go
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,11 @@ func (handler containerInspectHandler) injectNetworkforCNI(resp *http.Response)
return resp, nil
}
resp.Body = ioutil.NopCloser(bytes.NewReader(bs))
return resp, nil
}

// no cni container
resp.Body = ioutil.NopCloser(bytes.NewReader(body))
return resp, nil
}

Expand Down

0 comments on commit 05efc8b

Please sign in to comment.