mirror of
https://github.com/onepanelio/onepanel.git
synced 2025-10-05 05:36:50 +08:00
Removed name requirements for listing files
This commit is contained in:
@@ -723,10 +723,7 @@ func (c *Client) GetArtifact(namespace, name, key string) (data []byte, err erro
|
||||
return
|
||||
}
|
||||
|
||||
func (c *Client) ListFiles(namespace, name, key string) (files []*File, err error) {
|
||||
// @todo the key should be relative to the namespace/name combo
|
||||
// @todo pagination, limit, etc.
|
||||
|
||||
func (c *Client) ListFiles(namespace, key string) (files []*File, err error) {
|
||||
config, err := c.GetNamespaceConfig(namespace)
|
||||
if err != nil {
|
||||
return
|
||||
|
Reference in New Issue
Block a user