Skip to content

Commit 4233288

Browse files
committed
Revert "refactor defaultResourceContextKeys from target to pod"
This reverts commit e70df56.
1 parent e86ab1a commit 4233288

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

xset/resourcecontexts/default_adapters.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@ var _ api.ResourceContextAdapter = &DefaultResourceContextAdapter{}
2828
var defaultResourceContextKeys = map[api.ResourceContextKeyEnum]string{
2929
api.EnumOwnerContextKey: "Owner",
3030
api.EnumRevisionContextDataKey: "Revision",
31-
api.EnumTargetDecorationRevisionKey: "PodDecorationRevisions",
32-
api.EnumJustCreateContextDataKey: "PodJustCreate",
33-
api.EnumRecreateUpdateContextDataKey: "PodRecreateUpdate",
31+
api.EnumTargetDecorationRevisionKey: "TargetDecorationRevisions",
32+
api.EnumJustCreateContextDataKey: "TargetJustCreate",
33+
api.EnumRecreateUpdateContextDataKey: "TargetRecreateUpdate",
3434
api.EnumScaleInContextDataKey: "ScaleIn",
35-
api.EnumReplaceNewTargetIDContextDataKey: "ReplaceNewPodID",
36-
api.EnumReplaceOriginTargetIDContextDataKey: "ReplaceOriginPodID",
35+
api.EnumReplaceNewTargetIDContextDataKey: "ReplaceNewTargetID",
36+
api.EnumReplaceOriginTargetIDContextDataKey: "ReplaceOriginTargetID",
3737
}
3838

3939
type ResourceContextAdapterGetter struct{}

0 commit comments

Comments
 (0)