Browse Source

Remove GPU from Export

Soham Dessai 2 years ago
parent
commit
004c95f95b
1 changed files with 3 additions and 0 deletions
  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