File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
sysdig/internal/client/v2 Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 77)
88
99const (
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
1414type ZoneInterface interface {
@@ -113,9 +113,9 @@ func (client *Client) DeleteZone(ctx context.Context, id int) error {
113113}
114114
115115func (client * Client ) getZonesURL () string {
116- return fmt .Sprintf (ZonesPath , client .config .url )
116+ return fmt .Sprintf (PlatformZonesPath , client .config .url )
117117}
118118
119119func (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}
You can’t perform that action at this time.
0 commit comments