diff --git a/autograde-service/src/main/java/ch/epfl/autograde/api/v1/controller/RegistryCredentialsController.java b/autograde-service/src/main/java/ch/epfl/autograde/api/v1/controller/RegistryCredentialsController.java index e35d8d913106bec03eecd827c3b19e1a11e288c6..d4ea87e52033b50860d5ab0c2ce977b8794a37ad 100644 --- a/autograde-service/src/main/java/ch/epfl/autograde/api/v1/controller/RegistryCredentialsController.java +++ b/autograde-service/src/main/java/ch/epfl/autograde/api/v1/controller/RegistryCredentialsController.java @@ -51,11 +51,11 @@ public final class RegistryCredentialsController { var infos = new SubmissionInfo(id, "NOT-FOUND"); // HR : Store the image as a secret in the cluster - k8s.store_grader_image(id, image, infos); + k8s.store_grader_image_tag(id, image, infos); log.info("Successfully stored the grader-image tag for assignment {}", id); // HR : Store the credentials as a secret in the cluster - k8s.store_grader_credentials(id, credentials, infos); + k8s.store_registry_credentials(id, credentials, infos); log.info("Successfully stored the credentials for assignment {}", id); return ResponseEntity.ok().build();