Skip to content

Commit

Permalink
QCOS-2901 更换logs search url from searchv2 to search
Browse files Browse the repository at this point in the history
  • Loading branch information
[email protected] authored and [email protected] committed Oct 31, 2016
1 parent 111a989 commit 7feadaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kirksdk/qcos_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -793,7 +793,7 @@ func (p *qcosClientImp) SearchContainerLogs(ctx context.Context, args SearchCont
return
}

queryURL := fmt.Sprintf("%s/v3/logs/searchv2/%s", p.host, args.RepoType)
queryURL := fmt.Sprintf("%s/v3/logs/search/%s", p.host, args.RepoType)
params := make([]string, 0)
if args.Query != "" {
params = append(params, fmt.Sprintf("q=%s", url.QueryEscape(args.Query)))
Expand Down

0 comments on commit 7feadaa

Please sign in to comment.