Use userData from metadata API

This commit is contained in:
Girish Ramakrishnan
2015-08-25 15:05:16 -07:00
parent 93042d862d
commit af8f4b64c0
2 changed files with 7 additions and 57 deletions

View File

@@ -12,8 +12,6 @@ exports = module.exports = {
InstallerError: InstallerError,
provision: provision,
restore: restore,
update: update,
retire: retire
};
@@ -33,14 +31,6 @@ util.inherits(InstallerError, Error);
InstallerError.INTERNAL_ERROR = 1;
InstallerError.ALREADY_PROVISIONED = 2;
function update(args, callback) {
provision(args, callback);
}
function restore(args, callback) {
provision(args, callback);
}
function spawn(tag, cmd, args, callback) {
assert.strictEqual(typeof tag, 'string');
assert.strictEqual(typeof cmd, 'string');