fix tests and examples to use v1.8 model

This commit is contained in:
Boshi Lian
2017-11-24 12:19:44 +08:00
parent b102bc63bd
commit f7c0aa34d3
8 changed files with 42 additions and 41 deletions

View File

@@ -14,7 +14,7 @@ namespace watch
IKubernetes client = new Kubernetes(config);
var podlistResp = client.ListNamespacedPodWithHttpMessagesAsync("default", watch: true).Result;
using (podlistResp.Watch<Corev1Pod>((type, item) =>
using (podlistResp.Watch<V1Pod>((type, item) =>
{
Console.WriteLine("==on watch event==");
Console.WriteLine(type);