Skip to content

Commit 99a683c

Browse files
Forgot to switch profile_class method of a profile_release to use the updated $ref syntax (matching certificates).
1 parent d7e4468 commit 99a683c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/arch_obj_models/profile.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ def contributors
113113

114114
# @return [ProfileClass] Profile Class that this ProfileRelease belongs to
115115
def profile_class
116-
profile_class = @arch.profile_class(@data["class"])
116+
profile_class = @arch.ref(@data["class"]['$ref'])
117117
raise "No profile class named '#{@data["class"]}'" if profile_class.nil?
118118

119119
profile_class

0 commit comments

Comments
 (0)