diff --git a/internal/agentseed/agentseed.go b/internal/agentseed/agentseed.go index 0275e81c339b..9ef6a7b09788 100644 --- a/internal/agentseed/agentseed.go +++ b/internal/agentseed/agentseed.go @@ -113,9 +113,9 @@ func readSeedFile(path string, logger log.Logger) (*AgentSeed, error) { level.Error(logger).Log("msg", "Decoding seed file", "err", err) return nil, err } - if seed.UID == "" { level.Error(logger).Log("msg", "Seed file has empty uid") + return nil, err } return seed, nil }