diff --git a/nomad/server.go b/nomad/server.go index 58a611da8..ba4d9ad59 100644 --- a/nomad/server.go +++ b/nomad/server.go @@ -2172,7 +2172,7 @@ func (s *Server) ClusterMetadata() (structs.ClusterMetadata, error) { // if we are not the leader, nothing more we can do if !s.IsLeader() { - return structs.ClusterMetadata{}, errors.New("cluster ID not ready {}yet") + return structs.ClusterMetadata{}, errors.New("cluster ID not ready yet") } // we are the leader, try to generate the ID now