Skip to content
This repository has been archived by the owner on May 3, 2019. It is now read-only.

Commit

Permalink
Put pic instance id in inventory
Browse files Browse the repository at this point in the history
  • Loading branch information
mattstep committed Apr 23, 2012
1 parent cd1ee52 commit fd96364
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ public Instance createInstance(final String sizeName, String username)
String inventoryName = inventoryClient.getPcmSystemName(server.getUuid());
InventorySystem inventorySystem = new InventorySystem(inventoryName);
inventorySystem.setPicInstance(Integer.toString(server.getId()));
inventoryClient.patchSystem(inventorySystem);
}
catch (Exception e) {
log.error("Expected to get a server name from inventory for serverId [" + server.getUuid() + "] but caught exception " + e.getMessage(), e);
Expand Down

0 comments on commit fd96364

Please sign in to comment.