Skip to content

Commit 1593363

Browse files
committed
Add TODOs
1 parent f25c4a4 commit 1593363

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

internal/pkg/policy/parsed_policy.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ func NewParsedPolicy(ctx context.Context, bulker bulk.Bulk, p model.Policy) (*Pa
104104
p.Data.SecretReferences = nil
105105

106106
// We are cool and the gang
107+
// TODO: Make sure `agent` section is included and makes it all the way to the agent
107108
pp := &ParsedPolicy{
108109
Policy: p,
109110
Roles: roles,

internal/pkg/policy/parsed_policy_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,4 +140,5 @@ func TestParsedPolicyMixedSecretsReplacement(t *testing.T) {
140140
require.Equal(t, "0Mx2UZoBTAyw4gQKSaao_value", firstInputSecondStream["auth.basic.password"])
141141
require.Equal(t, "abcdef123_value", pp.Policy.Data.Outputs["fs-output"]["type"])
142142
require.Equal(t, "w8yELZoBTAyw4gQK9KZ7_value", pp.Policy.Data.Outputs["fs-output"]["ssl"].(map[string]interface{})["key"])
143+
//TODO: require.Equal(t, "w8yELZoBTAyw4gQK9KZ7_value", pp.Policy.Data.Agent.Download.SSL.Key)
143144
}

0 commit comments

Comments
 (0)