Skip to content

Commit e51e55e

Browse files
committed
Udpate is not a thing
1 parent 223bff7 commit e51e55e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

lib/cassandra/cluster/control_connection.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ def refresh_table_async(keyspace, table)
394394
if tables.empty?
395395
@schema.delete_table(keyspace, table)
396396
else
397-
@schema.udpate_table(host, keyspace, tables.first, columns)
397+
@schema.update_table(host, keyspace, tables.first, columns)
398398
end
399399
end
400400
end
@@ -447,7 +447,7 @@ def refresh_type_async(keyspace, type)
447447
if types.empty?
448448
@schema.delete_type(keyspace, type)
449449
else
450-
@schema.udpate_type(host, keyspace, types.first)
450+
@schema.update_type(host, keyspace, types.first)
451451
end
452452
end
453453
end

lib/cassandra/cluster/schema.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ def delete_keyspace(keyspace_name)
134134
self
135135
end
136136

137-
def udpate_table(host, keyspace_name, table, columns)
137+
def update_table(host, keyspace_name, table, columns)
138138
keyspace = @keyspaces[keyspace_name]
139139

140140
return self unless keyspace
@@ -174,7 +174,7 @@ def delete_table(keyspace_name, table_name)
174174
self
175175
end
176176

177-
def udpate_type(host, keyspace_name, type)
177+
def update_type(host, keyspace_name, type)
178178
keyspace = @keyspaces[keyspace_name]
179179

180180
return self unless keyspace

0 commit comments

Comments
 (0)