Revision 0722f4c9 src/image_mad/one_image.rb

View differences:

src/image_mad/one_image.rb
69 69
    # Image Manager Protocol Actions (generic implementation
70 70
    # -------------------------------------------------------------------------
71 71
    def mv(id, src, dst)
72
        local_action("#{@actions_path}/mv #{src} #{dst}",id,:mv)
72
        local_action("#{@actions_path}/mv #{src} #{dst}",id,ACTION[:mv])
73 73
    end
74 74

  
75 75
    def cp(id, src, dst)
76
        local_action("#{@actions_path}/cp #{src} #{dst}",id,:cp)
76
        local_action("#{@actions_path}/cp #{src} #{dst}",id,ACTION[:cp])
77 77
    end
78 78

  
79 79
    def rm(id, dst)
80
        local_action("#{@actions_path}/rm #{dst}",id,:rm)
80
        local_action("#{@actions_path}/rm #{dst}",id,ACTION[:rm])
81 81
    end
82 82

  
83 83
    def mkfs(id, dst, fs, size)
84
        local_action("#{@actions_path}/mkfs #{dst} #{fs} #{size}",id,:mkfs)
84
        local_action("#{@actions_path}/mkfs #{dst} #{fs} #{size}",id,ACTION[:mkfs])
85 85
    end
86 86
end
87 87

  

Also available in: Unified diff