@@ -33,13 +33,13 @@ def cli(env, prices, location=None):
3333 datacenter ['keyname' ]])
3434
3535 tables .append (datacenter_table )
36- tables .append (_ios_get_table (items , prices ))
37- tables .append (_storage_table (items , prices ))
38- tables .append (_snapshot_get_table (items , prices ))
36+ tables .append (_block_ios_get_table (items , prices ))
37+ tables .append (_block_storage_table (items , prices ))
38+ tables .append (_block_snapshot_get_table (items , prices ))
3939 env .fout (tables )
4040
4141
42- def _ios_get_table (items , prices ):
42+ def _block_ios_get_table (items , prices ):
4343 if prices :
4444 table = formatting .Table (['Id' , 'Description' , 'KeyName' , 'Prices' ], title = 'IOPS' )
4545 for item in items :
@@ -57,7 +57,7 @@ def _ios_get_table(items, prices):
5757 return table
5858
5959
60- def _storage_table (items , prices ):
60+ def _block_storage_table (items , prices ):
6161 if prices :
6262 table = formatting .Table (['Id' , 'Description' , 'KeyName' , 'Capacity Minimum' , 'Prices' ], title = 'Storage' )
6363 for item in items :
@@ -76,7 +76,7 @@ def _storage_table(items, prices):
7676 return table
7777
7878
79- def _snapshot_get_table (items , prices ):
79+ def _block_snapshot_get_table (items , prices ):
8080 if prices :
8181 table = formatting .Table (['Id' , 'Description' , 'KeyName' , 'Prices' ], title = 'Snapshot' )
8282 for item in items :
0 commit comments