Revision 3f9143fa snf-cyclades-app/synnefo/volume/snapshots.py

b/snf-cyclades-app/synnefo/volume/snapshots.py
32 32

  
33 33
    """
34 34

  
35
    if name is None:
36
        raise faults.BadRequest("Snapshot 'name' is required")
37

  
35 38
    # Check that taking a snapshot is feasible
36 39
    if volume.machine is None:
37 40
        raise faults.BadRequest("Cannot snapshot a detached volume!")

Also available in: Unified diff