add V1Patch for patch custom obj (#530)
This commit is contained in:
@@ -13,6 +13,11 @@ namespace k8s
|
||||
throw new ArgumentNullException(nameof(body));
|
||||
}
|
||||
|
||||
if (body is V1Patch patch)
|
||||
{
|
||||
return GetHeader(patch);
|
||||
}
|
||||
|
||||
return MediaTypeHeaderValue.Parse("application/json; charset=utf-8");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user