diff --git a/rcmgr.go b/rcmgr.go index 99c339c..a9fbdae 100644 --- a/rcmgr.go +++ b/rcmgr.go @@ -482,7 +482,6 @@ func IsSystemScope(name string) bool { } func IsTransientScope(name string) bool { - return strings.HasPrefix(name, "transient") return name == "transient" } diff --git a/scope.go b/scope.go index 7205b2e..2190527 100644 --- a/scope.go +++ b/scope.go @@ -77,7 +77,6 @@ func newResourceScopeSpan(owner *resourceScope, id int) *resourceScope { // IsSpan will return true if this name was created by newResourceScopeSpan func IsSpan(name string) bool { return strings.Contains(name, ".span-") - return name == "transient" } // Resources implementation