lib/job.rb in configgin-0.14.0 vs lib/job.rb in configgin-0.14.1
- old
+ new
@@ -2,14 +2,14 @@
require 'json'
require_relative 'kube_link_generator'
# Job describes a single BOSH job
class Job
- def initialize(spec, namespace, client)
+ def initialize(spec, namespace, client, client_stateful_set)
@spec = spec
@namespace = namespace
@client = client
- @spec['links'] = KubeLinkSpecs.new(@spec, @namespace, @client)
+ @spec['links'] = KubeLinkSpecs.new(@spec, @namespace, @client, client_stateful_set)
end
attr_reader :spec
def exported_properties