We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4cc6245 commit 6b10ec9Copy full SHA for 6b10ec9
components/supervisor/pkg/ports/ports-config.go
@@ -181,6 +181,10 @@ func parseWorkspaceConfigs(ports []*gitpod.PortConfig) (portConfigs map[uint32]*
181
182
func parseInstanceConfigs(ports []*gitpod.PortsItems) (portConfigs map[uint32]*gitpod.PortConfig, rangeConfigs []*RangeConfig) {
183
for _, config := range ports {
184
+ if config == nil {
185
+ continue
186
+ }
187
+
188
rawPort := fmt.Sprintf("%v", config.Port)
189
Port, err := strconv.Atoi(rawPort)
190
if err == nil {
0 commit comments