lib/google/cloud/bigtable/column_family_map.rb in google-cloud-bigtable-2.9.1 vs lib/google/cloud/bigtable/column_family_map.rb in google-cloud-bigtable-2.10.0

- old
+ new

@@ -368,12 +368,11 @@ # def created_modifications comparison_map added_keys = @column_families.keys - comparison_map.keys added_keys.map do |name| - Google::Cloud::Bigtable::Admin::V2::ModifyColumnFamiliesRequest:: \ - Modification.new( + Google::Cloud::Bigtable::Admin::V2::ModifyColumnFamiliesRequest::Modification.new( id: name, create: @column_families[name] ) end end @@ -392,12 +391,11 @@ updated_keys = possibly_updated_keys.reject do |name| @column_families[name] == comparison_map[name] end updated_keys.map do |name| - Google::Cloud::Bigtable::Admin::V2::ModifyColumnFamiliesRequest:: \ - Modification.new( + Google::Cloud::Bigtable::Admin::V2::ModifyColumnFamiliesRequest::Modification.new( id: name, update: @column_families[name] ) end end @@ -413,11 +411,10 @@ # def dropped_modifications comparison_map dropped_keys = comparison_map.keys - @column_families.keys dropped_keys.map do |name| - Google::Cloud::Bigtable::Admin::V2::ModifyColumnFamiliesRequest:: \ - Modification.new( + Google::Cloud::Bigtable::Admin::V2::ModifyColumnFamiliesRequest::Modification.new( id: name, drop: true ) end end