Skip to content

Commit

Permalink
fix: update comment
Browse files Browse the repository at this point in the history
Signed-off-by: Junjie Gao <[email protected]>
  • Loading branch information
JeyJeyGao committed Nov 11, 2024
1 parent 0dd7725 commit 0e2495e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/e2e/internal/utils/crl.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
"net/http"
)

// LeafCRLRevoke sends http post request to http://localhost:8080/revoke
// LeafCRLRevoke sends http post request to http://localhost:10086/leaf/revoke
func LeafCRLRevoke() error {
url := "http://localhost:10086/leaf/revoke"
resp, err := http.Post(url, "application/json", nil)
Expand All @@ -30,7 +30,7 @@ func LeafCRLRevoke() error {
return nil
}

// LeafCRLUnrevoke sends http post request to http://localhost:8080/unrevoke
// LeafCRLUnrevoke sends http post request to http://localhost:10086/leaf/unrevoke
func LeafCRLUnrevoke() error {
url := "http://localhost:10086/leaf/unrevoke"
resp, err := http.Post(url, "application/json", nil)
Expand All @@ -42,6 +42,7 @@ func LeafCRLUnrevoke() error {
return nil
}

// IntermediateCRLRevoke sends http post request to http://localhost:10086/intermediate/revoke
func IntermediateCRLRevoke() error {
url := "http://localhost:10086/intermediate/revoke"
resp, err := http.Post(url, "application/json", nil)
Expand All @@ -53,6 +54,7 @@ func IntermediateCRLRevoke() error {
return nil
}

// IntermediateCRLUnrevoke sends http post request to http://localhost:10086/intermediate/unrevoke
func IntermediateCRLUnrevoke() error {
url := "http://localhost:10086/intermediate/unrevoke"
resp, err := http.Post(url, "application/json", nil)
Expand Down

0 comments on commit 0e2495e

Please sign in to comment.