provision: add ipv6 config
This commit is contained in:
@@ -1512,16 +1512,7 @@ angular.module('Application').service('Client', ['$http', '$interval', '$timeout
|
||||
});
|
||||
};
|
||||
|
||||
Client.prototype.restore = function (backupConfig, remotePath, version, ipv4Config, skipDnsSetup, setupToken, callback) {
|
||||
var data = {
|
||||
backupConfig: backupConfig,
|
||||
remotePath: remotePath,
|
||||
version: version,
|
||||
ipv4Config: ipv4Config,
|
||||
skipDnsSetup: skipDnsSetup,
|
||||
setupToken: setupToken
|
||||
};
|
||||
|
||||
Client.prototype.restore = function (data, callback) {
|
||||
post('/api/v1/provision/restore', data, null, function (error, data, status) {
|
||||
if (error) return callback(error);
|
||||
if (status !== 200) return callback(new ClientError(status));
|
||||
|
||||
Reference in New Issue
Block a user