Skip to content

Commit a0d3b26

Browse files
committed
refactor: rename variables
1 parent d98d67f commit a0d3b26

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

sysdig/internal/client/v2/zones.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ import (
77
)
88

99
const (
10-
ZonesPath = "%s/platform/v1/zones"
11-
ZonePath = "%s/platform/v1/zones/%d"
10+
PlatformZonesPath = "%s/platform/v1/zones"
11+
PlatformZonePath = "%s/platform/v1/zones/%d"
1212
)
1313

1414
type ZoneInterface interface {
@@ -113,9 +113,9 @@ func (client *Client) DeleteZone(ctx context.Context, id int) error {
113113
}
114114

115115
func (client *Client) getZonesURL() string {
116-
return fmt.Sprintf(ZonesPath, client.config.url)
116+
return fmt.Sprintf(PlatformZonesPath, client.config.url)
117117
}
118118

119119
func (client *Client) getZoneURL(id int) string {
120-
return fmt.Sprintf(ZonePath, client.config.url, id)
120+
return fmt.Sprintf(PlatformZonePath, client.config.url, id)
121121
}

0 commit comments

Comments
 (0)