Label all deprecated services as such (#3120)
* Label all deprecated services as such
This will change
service_requests_total{category="other",family="cocoapods",service="cocoapods_apps"} 76
to
service_requests_total{category="other",family="cocoapods",service="deprecated_cocoapods_apps"} 76
* Fix tests
This commit is contained in:
committed by
Caleb Cartwright
parent
97358c1399
commit
56e71d7c76
@@ -27,12 +27,11 @@ function deprecatedService(attrs) {
|
||||
|
||||
return class DeprecatedService extends BaseService {
|
||||
static get name() {
|
||||
return (
|
||||
name ||
|
||||
`Deprecated${camelcase(route.base.replace(/\//g, '_'), {
|
||||
pascalCase: true,
|
||||
})}`
|
||||
)
|
||||
return name
|
||||
? `Deprecated${name}`
|
||||
: `Deprecated${camelcase(route.base.replace(/\//g, '_'), {
|
||||
pascalCase: true,
|
||||
})}`
|
||||
}
|
||||
|
||||
static get category() {
|
||||
|
||||
Reference in New Issue
Block a user