Skip to content

Commit

Permalink
added API for Storage::GetWinPrimPartitions (bnc#797665)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsuchome committed Jan 30, 2013
1 parent 99d3e8d commit a319f6b
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/clients/wrapper_storage.ycp
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,18 @@
ret = Storage::RemoveDmMapsTo(param1);
}
}
else if (func == "GetWinPrimPartitions")
{
if (size(param) == 0)
{
y2error("Missing argument for Storage::GetWinPrimPartitions()");
}
else
{
map<string,map> param1 = (map<string,map>)param[0]:nil;
ret = Storage::GetWinPrimPartitions (param1);
}
}
else
{
// the required function is not known
Expand Down

0 comments on commit a319f6b

Please sign in to comment.