Skip to content

Commit 187d366

Browse files
committed
Removed extra comments
1 parent ec7284a commit 187d366

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

pkg/cloud/tags.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,13 @@ const (
3030

3131
// TagNetwork adds tags to a network by network id.
3232
func (c *client) AddNetworkTags(networkId string, tags map[string]string) error {
33-
// https://cloudstack.apache.org/api/apidocs-4.16/apis/createTags.html
3433
p := c.cs.Resourcetags.NewCreateTagsParams([]string{networkId}, resourceTypeNetwork, tags)
3534
_, err := c.cs.Resourcetags.CreateTags(p)
3635
return err
3736
}
3837

3938
// GetNetworkTags gets tags by network id.
4039
func (c *client) GetNetworkTags(networkId string) (map[string]string, error) {
41-
// https://cloudstack.apache.org/api/apidocs-4.16/apis/listTags.html
4240
p := c.cs.Resourcetags.NewListTagsParams()
4341
p.SetResourceid(networkId)
4442
p.SetResourcetype(resourceTypeNetwork)
@@ -55,7 +53,6 @@ func (c *client) GetNetworkTags(networkId string) (map[string]string, error) {
5553

5654
// DeleteNetworkTags deletes matching tags from a network
5755
func (c *client) DeleteNetworkTags(networkId string, tagsToDelete map[string]string) error {
58-
// https://cloudstack.apache.org/api/apidocs-4.16/apis/deleteTags.html
5956
p := c.cs.Resourcetags.NewDeleteTagsParams([]string{networkId}, resourceTypeNetwork)
6057
p.SetTags(tagsToDelete)
6158
_, err := c.cs.Resourcetags.DeleteTags(p)

0 commit comments

Comments
 (0)