Revision 20deae85 include/VirtualMachineDisk.h

View differences:

include/VirtualMachineDisk.h
52 52
        return is_flag("PERSISTENT");
53 53
    }
54 54

  
55
    bool is_managed() const
56
    {
57
        bool one_managed;
58

  
59
        if (vector_value("OPENNEBULA_MANAGED", one_managed) == -1)
60
        {
61
            one_managed = true;
62
        }
63

  
64
        return one_managed;
65
    }
66

  
55 67
    void set_attach()
56 68
    {
57 69
        set_flag("ATTACH");

Also available in: Unified diff