image: fixed tags, catalog, push operation
This commit is contained in:
@@ -18,11 +18,15 @@ import (
|
||||
"fmt"
|
||||
"net/http"
|
||||
"strconv"
|
||||
|
||||
"mstore/pkg/descr"
|
||||
)
|
||||
|
||||
func (cli *Client) GetTags(ctx context.Context, rawrepo string) ([]string, error) {
|
||||
func (cli *Client) GetTags(ctx context.Context, rawrepo string) (*descr.Tags, error) {
|
||||
var err error
|
||||
list := make([]string, 0)
|
||||
list := &descr.Tags{
|
||||
Tags: make([]string, 0),
|
||||
}
|
||||
tagdata, err := cli.GetRawTags(ctx, rawrepo)
|
||||
if err != nil {
|
||||
return list, err
|
||||
|
||||
Reference in New Issue
Block a user