mirror of
https://github.com/onepanelio/onepanel.git
synced 2025-09-27 01:56:03 +08:00
fix: docs for CreateNamespace
This commit is contained in:
@@ -86,6 +86,7 @@ func (c *Client) ListNamespaces() (namespaces []*Namespace, err error) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// CreateNamespace creates a namespace named {{ name }} assuming the {{ sourceNamespace }} created it
|
||||||
func (c *Client) CreateNamespace(sourceNamespace, name string) (namespace *Namespace, err error) {
|
func (c *Client) CreateNamespace(sourceNamespace, name string) (namespace *Namespace, err error) {
|
||||||
newNamespace := name
|
newNamespace := name
|
||||||
domain := *c.systemConfig.Domain()
|
domain := *c.systemConfig.Domain()
|
||||||
|
Reference in New Issue
Block a user