зеркало из https://github.com/Azure/aztk.git
add user should be added for a year
This commit is contained in:
Родитель
85c1d27ab0
Коммит
ca11926084
|
@ -1,8 +1,7 @@
|
|||
from . import util
|
||||
|
||||
import random
|
||||
import datetime
|
||||
|
||||
from datetime import datetime, timedelta
|
||||
import azure.batch.models as batch_models
|
||||
|
||||
_WEBUI_PORT = 8082
|
||||
|
@ -204,7 +203,8 @@ def create_user(
|
|||
batch_models.ComputeNodeUser(
|
||||
username,
|
||||
is_admin = True,
|
||||
password = password))
|
||||
password = password,
|
||||
expiry_time = datetime.now() + timedelta(days=365)))
|
||||
|
||||
|
||||
def get_cluster_details(
|
||||
|
|
Загрузка…
Ссылка в новой задаче