Skip to content

Commit

Permalink
Merge pull request #982 from ioito/hotfix/qx-host-storage-driver
Browse files Browse the repository at this point in the history
fix(cloudpods): host storage driver sync
  • Loading branch information
ioito authored Jun 4, 2024
2 parents 8be3013 + cc35e10 commit e1e06df
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions pkg/cloudprovider/resources.go
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,7 @@ type ICloudHost interface {
GetStorageSizeMB() int64
GetStorageType() string
GetHostType() string
GetStorageDriver() string
GetStorageInfo() jsonutils.JSONObject

GetIsMaintenance() bool
Expand Down
4 changes: 4 additions & 0 deletions pkg/multicloud/host_base.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@ func (host *SHostBase) GetCpuArchitecture() string {
return apis.OS_ARCH_X86_64
}

func (host *SHostBase) GetStorageDriver() string {
return ""
}

func (host *SHostBase) GetStorageInfo() jsonutils.JSONObject {
return nil
}

0 comments on commit e1e06df

Please sign in to comment.