Skip to content

Commit e84d089

Browse files
authored
Update ProtoClient.java
smaller change about ProtoClient.go
1 parent f895344 commit e84d089

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

util/src/main/java/io/kubernetes/client/ProtoClient.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public String toString() {
4343

4444
private ApiClient apiClient;
4545
// Magic number for the beginning of proto encoded.
46-
// https://github.com/kubernetes/apimachinery/blob/master/pkg/runtime/serializer/protobuf/protobuf.go#L42
46+
// https://github.com/kubernetes/apimachinery/blob/release-1.13/pkg/runtime/serializer/protobuf/protobuf.go#L44
4747
private static final byte[] MAGIC = new byte[] {0x6b, 0x38, 0x73, 0x00};
4848
private static final String MEDIA_TYPE = "application/vnd.kubernetes.protobuf";
4949

@@ -82,7 +82,7 @@ public void setApiClient(ApiClient apiClient) {
8282
/**
8383
* Get a Kubernetes API object using protocol buffer encoding.
8484
*
85-
* @param builder The appropriate Builder for the object receveived from the request.
85+
* @param builder The appropriate Builder for the object received from the request.
8686
* @param path The URL path to call (e.g. /api/v1/namespaces/default/pods/pod-name)
8787
* @return An ObjectOrStatus which contains the Object requested, or a Status about the request.
8888
*/
@@ -95,7 +95,7 @@ public <T extends Message> ObjectOrStatus<T> get(T.Builder builder, String path)
9595
* List is fluent, semantic sugar method on top of get, which is intended to convey that the
9696
* object is a List of objects rather than a single object
9797
*
98-
* @param builder The appropriate Builder for the object receveived from the request.
98+
* @param builder The appropriate Builder for the object received from the request.
9999
* @param path The URL path to call (e.g. /api/v1/namespaces/default/pods/pod-name)
100100
* @return An ObjectOrStatus which contains the Object requested, or a Status about the request.
101101
*/
@@ -208,7 +208,7 @@ public <T extends Message> ObjectOrStatus<T> delete(
208208
* Generic protocol buffer based HTTP request. Not intended for general consumption, but public
209209
* for advance use cases.
210210
*
211-
* @param builder The appropriate Builder for the object receveived from the request.
211+
* @param builder The appropriate Builder for the object received from the request.
212212
* @param method The HTTP method (e.g. GET) for this request.
213213
* @param path The URL path to call (e.g. /api/v1/namespaces/default/pods/pod-name)
214214
* @param body The body to send with the request (optional)

0 commit comments

Comments
 (0)