Skip to content

Commit

Permalink
Fix typo in configuration initializer method.
Browse files Browse the repository at this point in the history
  • Loading branch information
ShPakvel committed Dec 22, 2024
1 parent b5aee11 commit d59c274
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/kamal/configuration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def initialize(raw_config, destination: nil, version: nil, validate: true)

# Eager load config to validate it, these are first as they have dependencies later on
@servers = Servers.new(config: self)
@registry = Registry.new(config: raw_config, secrets: secrets)
@registry = Registry.new(config: @raw_config, secrets: secrets)

@accessories = @raw_config.accessories&.keys&.collect { |name| Accessory.new(name, config: self) } || []
@aliases = @raw_config.aliases&.keys&.to_h { |name| [ name, Alias.new(name, config: self) ] } || {}
Expand Down

0 comments on commit d59c274

Please sign in to comment.