mirror of https://github.com/apache/cloudstack.git
netapp: Fix String conversion method of long id
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
This commit is contained in:
parent
066edc1105
commit
4e71a5a7b9
|
|
@ -660,7 +660,7 @@ public class NetappManagerImpl implements NetappManager
|
|||
lun = _lunDao.persist(lun);
|
||||
|
||||
//Lun id created: 6 digits right justified eg. 000045
|
||||
String lunIdStr = lun.getId().toString();
|
||||
String lunIdStr = String.valueOf(lun.getId());
|
||||
String zeroStr = "000000";
|
||||
int length = lunIdStr.length();
|
||||
int offset = 6-length;
|
||||
|
|
|
|||
Loading…
Reference in New Issue