Skip to content

Commit df04645

Browse files
committed
Removed workaround for behavior in unsupported versions
1 parent 62633bb commit df04645

1 file changed

Lines changed: 0 additions & 12 deletions

File tree

controls/def.cf

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -158,18 +158,6 @@ bundle common def
158158
# then get a regular list from using getvalues().
159159

160160
"tbse" data => mergedata( "def.control_common_bundlesequence_end" );
161-
162-
# Since we have @(def.bundlesequence_end) in body common control
163-
# bundlesequence we must have a list variable defined. It can be empty, but it
164-
# must be defined. If it is not defined the agent will error complaining
165-
# that '@(def.bundlesequence_end) is not a defined bundle.
166-
167-
# As noted in CFE-2460 getvalues behaviour varies between versions. 3.7.x
168-
# getvalues will return an empty list when run on a non existant data
169-
# container. On 3.9.1 it does not return an empty list.
170-
# So we initialize it as an empty list first to be safe.
171-
172-
"bundlesequence_end" slist => {};
173161
"bundlesequence_end" slist => getvalues( tbse );
174162

175163
"control_common_ignore_missing_bundles" -> { "CFE-2773" }

0 commit comments

Comments
 (0)