Sfoglia il codice sorgente

Remove GPU from Export

Soham Dessai 2 anni fa
parent
commit
004c95f95b
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  1. 3 0
      api/server/handlers/porter_app/yaml_from_revision.go

+ 3 - 0
api/server/handlers/porter_app/yaml_from_revision.go

@@ -401,6 +401,9 @@ func zeroOutValues(app v2.PorterApp) v2.PorterApp {
 		app.Predeploy.AllowConcurrent = nil
 		// remove timeout
 		app.Predeploy.TimeoutSeconds = 0
+		//remove gpu
+		app.Predeploy.GPU = nil;
+	
 	}
 
 	return app