Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d85db0a8 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "release-config: report error for missing namespace" into main

parents f6f98f8e e5f9866f
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -314,6 +314,9 @@ func (configs *ReleaseConfigs) LoadReleaseConfigMap(path string, ConfigDirIndex
				}
			}
		}
		if flagDeclaration.Namespace == nil {
			return fmt.Errorf("Flag declaration %s has no namespace.", path)
		}

		m.FlagDeclarations = append(m.FlagDeclarations, *flagDeclaration)
		name := *flagDeclaration.Name