|
Lines 3704-3709
extern int assoc_mgr_update_assocs(slurmdb_update_object_t *update, bool locked)
Link Here
|
| 3704 |
switch(update->type) { |
3704 |
switch(update->type) { |
| 3705 |
case SLURMDB_MODIFY_ASSOC: |
3705 |
case SLURMDB_MODIFY_ASSOC: |
| 3706 |
if (!rec) { |
3706 |
if (!rec) { |
|
|
3707 |
error("SLURMDB_MODIFY_ASSOC: assoc %u(%s, %s, %s) not found, unable to update.", |
| 3708 |
object->id, object->acct, |
| 3709 |
object->user, object->partition); |
| 3707 |
rc = SLURM_ERROR; |
3710 |
rc = SLURM_ERROR; |
| 3708 |
break; |
3711 |
break; |
| 3709 |
} |
3712 |
} |
|
Lines 4215-4220
extern int assoc_mgr_update_wckeys(slurmdb_update_object_t *update, bool locked)
Link Here
|
| 4215 |
switch(update->type) { |
4218 |
switch(update->type) { |
| 4216 |
case SLURMDB_MODIFY_WCKEY: |
4219 |
case SLURMDB_MODIFY_WCKEY: |
| 4217 |
if (!rec) { |
4220 |
if (!rec) { |
|
|
4221 |
error("SLURMDB_MODIFY_WCKEY: wckey %u(%s) not found, unable to update.", |
| 4222 |
object->id, object->name); |
| 4218 |
rc = SLURM_ERROR; |
4223 |
rc = SLURM_ERROR; |
| 4219 |
break; |
4224 |
break; |
| 4220 |
} |
4225 |
} |
|
Lines 4305-4310
extern int assoc_mgr_update_users(slurmdb_update_object_t *update, bool locked)
Link Here
|
| 4305 |
switch(update->type) { |
4310 |
switch(update->type) { |
| 4306 |
case SLURMDB_MODIFY_USER: |
4311 |
case SLURMDB_MODIFY_USER: |
| 4307 |
if (!rec) { |
4312 |
if (!rec) { |
|
|
4313 |
error("SLURMDB_MODIFY_USER: user %s not found, unable to update.", |
| 4314 |
object->old_name ? |
| 4315 |
object->old_name : object->name); |
| 4308 |
rc = SLURM_ERROR; |
4316 |
rc = SLURM_ERROR; |
| 4309 |
break; |
4317 |
break; |
| 4310 |
} |
4318 |
} |
|
Lines 4465-4470
extern int assoc_mgr_update_qos(slurmdb_update_object_t *update, bool locked)
Link Here
|
| 4465 |
break; |
4473 |
break; |
| 4466 |
case SLURMDB_MODIFY_QOS: |
4474 |
case SLURMDB_MODIFY_QOS: |
| 4467 |
if (!rec) { |
4475 |
if (!rec) { |
|
|
4476 |
error("SLURMDB_MODIFY_QOS: qos %u(%s) not found, unable to update.", |
| 4477 |
object->id, object->name); |
| 4468 |
rc = SLURM_ERROR; |
4478 |
rc = SLURM_ERROR; |
| 4469 |
break; |
4479 |
break; |
| 4470 |
} |
4480 |
} |