Skip to content

Commit

Permalink
Update cluster_edge_native.go
Browse files Browse the repository at this point in the history
  • Loading branch information
MGamya committed Aug 26, 2024
1 parent e591eab commit 1b1db1d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/cluster_edge_native.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ func (h *V1Client) CreateRegistrationToken(tokenName string, body *models.V1Edge
}

// DeleteRegistrationToken deletes a registration token by name.
func (h *V1Client) DeleteRegistrationToken(tokenUid string) error {
func (h *V1Client) DeleteRegistrationToken(tokenUID string) error {
// ACL scoped to tenant only
params := clientv1.NewV1EdgeTokensUIDDeleteParams().WithUID(tokenUid)
params := clientv1.NewV1EdgeTokensUIDDeleteParams().WithUID(tokenUID)
_, err := h.Client.V1EdgeTokensUIDDelete(params)
if err != nil {
return fmt.Errorf("failed to delete registration token: %w", err)
Expand Down

0 comments on commit 1b1db1d

Please sign in to comment.