Revision 0fa579fd src/rm/RequestManagerImage.cc

View differences:

src/rm/RequestManagerImage.cc
118 118

  
119 119
    ds_id = image->get_ds_id();
120 120

  
121
    if ( !image->is_managed() )
122
    {
123
        att.resp_msg = "Cannot change persistent state for non-managed images";
124

  
125
        image->unlock();
126

  
127
        return ACTION;
128
    }
129

  
121 130
    image->unlock();
122 131

  
123 132
    ds = dspool->get(ds_id, true);

Also available in: Unified diff