snake-case cache_path query param for consistency
@@ -29,7 +29,6 @@ const (
MainJobBadge = "MainJobBadge"
ClearTaskCache = "ClearTaskCache"
- ClearTaskCacheQueryPath = "CachePath"
ListAllResources = "ListAllResources"
ListResources = "ListResources"
@@ -97,6 +96,10 @@ const (
ReadOutputFromBuildPlan = "ReadOutputFromBuildPlan"
)
+const (
+ ClearTaskCacheQueryPath = "cache_path"
+)
+
var Routes = rata.Routes([]rata.Route{
{Path: "/api/v1/teams/:team_name/pipelines/:pipeline_name/config", Method: "PUT", Name: SaveConfig},
{Path: "/api/v1/teams/:team_name/pipelines/:pipeline_name/config", Method: "GET", Name: GetConfig},
