Skip to content

Commit

Permalink
chore(firewall/rules) - Revert prefix produced by GetRulesID
Browse files Browse the repository at this point in the history
Signed-off-by: Alexandros Kazantzidis <[email protected]>
  • Loading branch information
akazantzidis committed Aug 24, 2024
1 parent 6dff6bb commit 1a01a96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion proxmox/firewall/rules.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ func (c *Client) GetRulesID() string {
id := uuid.New().ID()
finalID := timestamp + int64(id)

return fmt.Sprintf("sg-%d", finalID)
return fmt.Sprintf("role-%d", finalID)
}

// CreateRule creates a firewall rule.
Expand Down

0 comments on commit 1a01a96

Please sign in to comment.