diff --git a/server/pkg/api/cluster_apps.go b/server/pkg/api/cluster_apps.go index d01af5e9..ed85c782 100644 --- a/server/pkg/api/cluster_apps.go +++ b/server/pkg/api/cluster_apps.go @@ -34,6 +34,8 @@ func (s *Server) GetClusterApps(ctx context.Context, request *serverpb.GetCluste StatusMessage: "failed to get cluster application from agent"}, nil } + s.log.Info("DATA RECIED====", resp.AppData) + appConfigData, err := json.Marshal(resp.AppData) if err != nil { s.log.Error("failed to marshall appConfig", err) @@ -41,6 +43,7 @@ func (s *Server) GetClusterApps(ctx context.Context, request *serverpb.GetCluste StatusMessage: "failed to marshall appConfig"}, nil } + s.log.Info("DATA RECIED==== Bytes===", appConfigData) var clusterAppConfig []*serverpb.ClusterAppConfig err = json.Unmarshal(appConfigData, &clusterAppConfig) if err != nil { @@ -79,6 +82,7 @@ func (s *Server) GetClusterAppLaunchConfigs(ctx context.Context, request *server StatusMessage: "failed to get cluster application launches from agent"}, err } + s.log.Info("DATA appConfigData==== Bytes===", resp.LaunchConfigList, resp) appConfigData, err := json.Marshal(resp.LaunchConfigList) if err != nil { s.log.Error("failed to marshall app launches", err) @@ -86,6 +90,8 @@ func (s *Server) GetClusterAppLaunchConfigs(ctx context.Context, request *server StatusMessage: "failed to marshall app launches"}, nil } + s.log.Info("DATA appConfigData==== Bytes===", appConfigData) + var clusterAppLaunchConfig []*serverpb.AppLaunchConfig err = json.Unmarshal(appConfigData, &clusterAppLaunchConfig) if err != nil {