Skip to content

Commit 920c62d

Browse files
committed
stringify prefix networks and not its subnets
1 parent 2cada30 commit 920c62d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/bosh-director/lib/bosh/director/deployment_plan/dynamic_network.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ def self.check_validity_of_availability_zone(availability_zone, availability_zon
8686
def initialize(name, subnets, prefix, logger)
8787
super(name, logger)
8888
@subnets = subnets
89-
@prefix = prefix
89+
@prefix = prefix.to_s
9090
end
9191

9292
attr_reader :subnets

src/bosh-director/lib/bosh/director/deployment_plan/manual_network.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def managed?
3838
def initialize(name, subnets, prefix, logger, managed = false)
3939
super(name, TaggedLogger.new(logger, 'network-configuration'))
4040
@subnets = subnets
41-
@prefix = prefix
41+
@prefix = prefix.to_s
4242
@managed = managed
4343
end
4444

src/bosh-director/lib/bosh/director/deployment_plan/vip_network.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def initialize(name, cloud_properties, subnets, prefix, logger)
3535
super(name, logger)
3636
@cloud_properties = cloud_properties
3737
@subnets = subnets
38-
@prefix = prefix
38+
@prefix = prefix.to_s
3939
@logger = TaggedLogger.new(logger, 'network-configuration')
4040
end
4141

0 commit comments

Comments
 (0)