Navigation Menu

Skip to content

Commit

Permalink
pnfsmanager: Include legacy attributes in storageinfoof CLI output
Browse files Browse the repository at this point in the history
Fixes a regression introduced in the 2.6 development cycle.

Target: trunk
Require-book: no
Require-notes: no
Acked-by: Paul Millar <paul.millar@desy.de>
Patch: http://rb.dcache.org/r/5442/
  • Loading branch information
gbehrmann committed Apr 10, 2013
1 parent 5120744 commit c014ea9
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -54,6 +54,7 @@
import diskCacheV111.vehicles.PnfsSetFileMetaDataMessage;
import diskCacheV111.vehicles.PoolFileFlushedMessage;
import diskCacheV111.vehicles.StorageInfo;
import diskCacheV111.vehicles.StorageInfos;

import dmg.cells.nucleus.CDC;
import dmg.cells.nucleus.CellMessage;
Expand Down Expand Up @@ -503,7 +504,7 @@ public void getInfo( PrintWriter pw ){
EnumSet.of(FileAttribute.STORAGEINFO, FileAttribute.ACCESS_LATENCY,
FileAttribute.RETENTION_POLICY, FileAttribute.SIZE));

StorageInfo info = attributes.getStorageInfo();
StorageInfo info = StorageInfos.extractFrom(attributes);
if(v) {
sb.append(" Storage Info : ").append(info).append("\n") ;
}else{
Expand Down

0 comments on commit c014ea9

Please sign in to comment.