Skip to content

Commit

Permalink
Fix version of certissuer API
Browse files Browse the repository at this point in the history
  • Loading branch information
wpjunior committed Oct 18, 2024
1 parent 9f33056 commit 30283f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tsuru/client/certificate.go
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ func (c *CertificateIssuerSet) Run(context *cmd.Context) error {
v := url.Values{}
v.Set("cname", c.cname)
v.Set("issuer", issuer)
u, err := config.GetURLVersion("1.0", fmt.Sprintf("/apps/%s/certissuer", appName))
u, err := config.GetURLVersion("1.24", fmt.Sprintf("/apps/%s/certissuer", appName))
if err != nil {
return err
}
Expand Down Expand Up @@ -451,7 +451,7 @@ func (c *CertificateIssuerUnset) Run(context *cmd.Context) error {

v := url.Values{}
v.Set("cname", c.cname)
u, err := config.GetURLVersion("1.0", fmt.Sprintf("/apps/%s/certissuer?%s", appName, v.Encode()))
u, err := config.GetURLVersion("1.24", fmt.Sprintf("/apps/%s/certissuer?%s", appName, v.Encode()))
if err != nil {
return err
}
Expand Down

0 comments on commit 30283f5

Please sign in to comment.