2
0
Эх сурвалжийг харах

Fixed update build config not being called

jnfrati 4 жил өмнө
parent
commit
ed167732e0

+ 1 - 6
dashboard/src/main/home/cluster-dashboard/expanded-chart/BuildSettingsTab.tsx

@@ -79,10 +79,6 @@ const BuildSettingsTab: React.FC<Props> = ({ chart, isPreviousVersion }) => {
       return;
       return;
     }
     }
 
 
-    if (!config.builder.length || !config.buildpacks.length) {
-      return;
-    }
-
     try {
     try {
       await api.updateBuildConfig<UpdateBuildconfigResponse>(
       await api.updateBuildConfig<UpdateBuildconfigResponse>(
         "<token>",
         "<token>",
@@ -183,8 +179,7 @@ const BuildSettingsTab: React.FC<Props> = ({ chart, isPreviousVersion }) => {
       }
       }
 
 
       if (tmpError.response.status === 404) {
       if (tmpError.response.status === 404) {
-        let description =
-          "No action file matching this deployment was found.";
+        let description = "No action file matching this deployment was found.";
         if (typeof tmpError.response.data === "string") {
         if (typeof tmpError.response.data === "string") {
           const filename = tmpError.response.data;
           const filename = tmpError.response.data;
           description = description.concat(
           description = description.concat(