mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-24 16:03:43 +08:00
fix: add qcloud get tags and remove unused interface
This commit is contained in:
@@ -120,19 +120,6 @@ type SDisk struct {
|
||||
VolumeType string
|
||||
}
|
||||
|
||||
func (disk *SDisk) GetMetadata() *jsonutils.JSONDict {
|
||||
data := jsonutils.NewDict()
|
||||
|
||||
data.Add(jsonutils.NewString(api.HYPERVISOR_OPENSTACK), "hypervisor")
|
||||
return data
|
||||
}
|
||||
|
||||
func (disk *SDisk) GetSysTags() map[string]string {
|
||||
data := map[string]string{}
|
||||
data["hypervisor"] = api.HYPERVISOR_OPENSTACK
|
||||
return data
|
||||
}
|
||||
|
||||
func (region *SRegion) GetDisks() ([]SDisk, error) {
|
||||
disks := []SDisk{}
|
||||
resource := "/volumes/detail"
|
||||
|
||||
Reference in New Issue
Block a user