Skip to content

Commit 5d308cb

Browse files
author
tkrah
committed
Add method update_partition_table()
1 parent 204f6e1 commit 5d308cb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Diff for: foreman/foreman.py

+3
Original file line numberDiff line numberDiff line change
@@ -655,6 +655,9 @@ def search_partition_table(self, data):
655655
def create_partition_table(self, data):
656656
return self.create_resource(resource_type=PARTITION_TABLES, resource=PARTITION_TABLE, data=data)
657657

658+
def update_parition_table(self, id, data):
659+
return self.update_resource(self, resource_type=PARTITION_TABLES, resource_id=id, data=data)
660+
658661
def delete_partition_table(self, id):
659662
return self.delete_resource(resource_type=PARTITION_TABLES, resource_id=id)
660663

0 commit comments

Comments
 (0)