Skip to content

Commit

Permalink
[core] Only return short data in GetEnvironments to keep response small
Browse files Browse the repository at this point in the history
  • Loading branch information
teo committed Aug 24, 2023
1 parent 0609c2f commit 7cf0bf8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ func (m *RpcServer) GetEnvironments(cxt context.Context, request *pb.GetEnvironm
}

// Get plugin-provided environment data for all envs
integratedServicesEnvsData := integration.PluginsInstance().GetEnvironmentsData(m.state.environments.Ids())
integratedServicesEnvsData := integration.PluginsInstance().GetEnvironmentsShortData(m.state.environments.Ids())

// Get all environments
for _, id := range m.state.environments.Ids() {
Expand Down

0 comments on commit 7cf0bf8

Please sign in to comment.