Skip to content

Commit 632edce

Browse files
committed
Update param name and docs
1 parent 5cc9ed7 commit 632edce

File tree

1 file changed

+2
-2
lines changed
  • kubernetes-watch/src/Kubernetes/Watch

1 file changed

+2
-2
lines changed

kubernetes-watch/src/Kubernetes/Watch/Client.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ just streams to stdout. First some setup - this assumes kubernetes is accessible
4848
at http://localhost:8001, e.g. after running /kubectl proxy/:
4949
5050
@
51-
import qualified Data.ByteString.Streaming.Char8 as Q -- from <https://hackage.haskell.org/package/streaming-bytestring-0.1.5/docs/Data-ByteString-Streaming-Char8.html streaming-bytestring>
51+
import qualified Data.ByteString.Streaming.Char8 as Q
5252
5353
manager <- newManager defaultManagerSettings
5454
defaultConfig <- newConfig
@@ -80,7 +80,7 @@ withHTTP ::
8080
-> Manager
8181
-> (Response (Q.ByteString IO ()) -> IO a)
8282
-> IO a
83-
withHTTP response manager f = withResponse response manager f'
83+
withHTTP request manager f = withResponse request manager f'
8484
where
8585
f' resp = do
8686
let p = (from . brRead . responseBody) resp

0 commit comments

Comments
 (0)