Skip to content

Commit b598e9b

Browse files
committed
update
1 parent cb54d2e commit b598e9b

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

lib/stack-service-base.rb

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,10 @@ def pre_init()
4747
def connect_to_hosts(*args)
4848
stack_name = ENV['STACK_NAME'] || 'undefined_stack'
4949
service_name = ENV['STACK_SERVICE_NAME'] || 'undefined_service'
50-
args[0][:fallback_application_name] ||= "#{stack_name}_#{service_name}"
51-
super *args
50+
ar = args.dup
51+
ar[0] ||= {}
52+
ar[0][:fallback_application_name] ||= "#{stack_name}_#{service_name}"
53+
super(*ar)
5254
end
5355
})
5456

lib/stack-service-base/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module StackServiceBase
2-
VERSION = '0.0.84'
2+
VERSION = '0.0.85'
33
end

0 commit comments

Comments
 (0)