Commit 2296a60f authored by Ryo Yamashita's avatar Ryo Yamashita Committed by Yas Naoi
Browse files

Issue #3263292 by Ryo Yamashita, yas: Hotfix - Add the function to edit K8s Pod in the SPA

parent 9f58e615
Loading
Loading
Loading
Loading
+1 −1
Changes for modules/cloud_service_providers/k8s/src/Controller/ApiController.php: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -674,7 +674,7 @@ class ApiController extends ControllerBase implements ApiControllerInterface {

    return !empty($result)
      ? new JsonResponse([
        'result' => 'OK'
        'result' => 'OK',
      ], 200)
      : new JsonResponse([
        'result' => 'NG',
+0 −2
Changes for modules/cloud_service_providers/k8s/src/Service/K8sOperationsService.php: 0 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -8,8 +8,6 @@ use Drupal\Component\Serialization\Yaml;
use Drupal\Core\Entity\ContentEntityInterface;
use Drupal\Core\Entity\EntityMalformedException;
use Drupal\Core\Entity\EntityStorageException;
use Drupal\k8s\Service\K8sServiceException;
use Drupal\k8s\Service\K8sServiceInterface;

/**
 * Entity update methods for REST API processing.