Removed name requirements for listing files

This commit is contained in:
Andrey Melnikov
2020-03-02 11:41:27 -08:00
parent c36e383a16
commit 262b32895c
2 changed files with 2 additions and 5 deletions

View File

@@ -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