Commit 915d69a2 authored by AllenZMC's avatar AllenZMC Committed by czm

fix word 'resoures' to 'resources

Signed-off-by: 's avatarczm <zhongming.chang@daocloud.io>
parent fbcc5dd8
...@@ -160,7 +160,7 @@ type KubeClient interface { ...@@ -160,7 +160,7 @@ type KubeClient interface {
// BuildUnstructured reads a stream of manifests from a reader and turns them into // BuildUnstructured reads a stream of manifests from a reader and turns them into
// info objects. Manifests are not validated against the schema, but it will fail if // info objects. Manifests are not validated against the schema, but it will fail if
// any resoures types are not known by the apiserver. // any resources types are not known by the apiserver.
// //
// reader must contain a YAML stream (one or more YAML documents separated by "\n---\n"). // reader must contain a YAML stream (one or more YAML documents separated by "\n---\n").
BuildUnstructured(namespace string, reader io.Reader) (kube.Result, error) BuildUnstructured(namespace string, reader io.Reader) (kube.Result, error)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment