openstack 3.3.17 → 3.3.18
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/openstack/volume/volume.rb +8 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 43b99278f1dde6d2c5c9bc125e87691e50aece05
|
4
|
+
data.tar.gz: 4fa98f1d6fb9f58a7f161490a2b215c5db26a32b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ec779836098027ff94c51393dd0281eee56dc892d57c3ae7c60dd6f03d0b957bf2283ad15c6a8e24fde5d50414d7ee68ce4c048362312c28f6df0ead9fc5f700
|
7
|
+
data.tar.gz: 4ffddb1a4c9900848c6116849648ac7fdc51c78147f817acfd7695a683da5dbe0061e78b5a81137e44e55b7797e7351e3266657af6d83a6294ad8ad55312b523
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.3.
|
1
|
+
3.3.18
|
@@ -50,9 +50,14 @@ module OpenStack
|
|
50
50
|
true
|
51
51
|
end
|
52
52
|
|
53
|
-
def status!(status)
|
54
|
-
data =
|
55
|
-
|
53
|
+
def status!(status, attach_status = nil)
|
54
|
+
data = {'status' => status}
|
55
|
+
if attach_status
|
56
|
+
data.merge!({'attach_status' => attach_status})
|
57
|
+
end
|
58
|
+
response = @connection.req('POST', "/#{@volume_path}/#{@id}/action", {
|
59
|
+
:data => JSON.generate({'os-reset_status' => data})
|
60
|
+
})
|
56
61
|
OpenStack::Exception.raise_exception(response) unless response.code.match(/^20.$/)
|
57
62
|
self.populate
|
58
63
|
true
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: openstack
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.3.
|
4
|
+
version: 3.3.18
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dan Prince
|
@@ -138,7 +138,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
138
138
|
version: '0'
|
139
139
|
requirements: []
|
140
140
|
rubyforge_project:
|
141
|
-
rubygems_version: 2.6.14
|
141
|
+
rubygems_version: 2.6.14.1
|
142
142
|
signing_key:
|
143
143
|
specification_version: 4
|
144
144
|
summary: OpenStack Ruby API
|