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