v1.16.7
v1.16.7
This commit is contained in:
@@ -26,6 +26,8 @@ type AsyncWrapperMigrateRequest struct {
|
||||
}
|
||||
|
||||
// Migrate migrates compute to another node
|
||||
//
|
||||
// Deprecated: will be removed in SDK v1.17
|
||||
func (c Compute) Migrate(ctx context.Context, req MigrateRequest) (bool, error) {
|
||||
err := validators.ValidateRequest(req)
|
||||
if err != nil {
|
||||
@@ -50,6 +52,8 @@ func (c Compute) Migrate(ctx context.Context, req MigrateRequest) (bool, error)
|
||||
}
|
||||
|
||||
// AsyncMigrate migrates compute to another node in async mode
|
||||
//
|
||||
// Deprecated: will be removed in SDK v1.17
|
||||
func (c Compute) AsyncMigrate(ctx context.Context, req MigrateRequest) (string, error) {
|
||||
err := validators.ValidateRequest(req)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user