Skip to content

Commit 3e9826a

Browse files
Arta AsadiArta Asadi
Arta Asadi
authored and
Arta Asadi
committed
fix: update kuber
1 parent e6a35fe commit 3e9826a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

services/integration/utils/load-plugin.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,6 @@ func ExtractIntegrationBinaries(logger *zap.Logger, plugin platformspec.PluginSp
134134
logger.Error("failed to open manifest file", zap.Error(err))
135135
return nil, nil, fmt.Errorf("open manifest file: %w", err)
136136
}
137-
logger.Info("manifestFile", zap.String("file", string(manifestFile)))
138137

139138
var m models.Manifest
140139
// decode yaml
@@ -150,6 +149,7 @@ func ExtractIntegrationBinaries(logger *zap.Logger, plugin platformspec.PluginSp
150149
if strings.ToLower(m.DiscoveryType) == "task" {
151150
discoveryType = models.IntegrationPluginDiscoveryTypeTask
152151
}
152+
logger.Info("platform binary path", zap.String("path", baseDir+"/integarion_type/"+plugin.Components.PlatformBinary.PathInArchive))
153153
integrationPlugin, err = os.ReadFile(baseDir + "/integarion_type/" + plugin.Components.PlatformBinary.PathInArchive)
154154
if err != nil {
155155
logger.Error("failed to open integration-plugin file", zap.Error(err), zap.String("url", plugin.Components.PlatformBinary.URI))
@@ -175,6 +175,7 @@ func ExtractIntegrationBinaries(logger *zap.Logger, plugin platformspec.PluginSp
175175
url = plugin.Components.CloudQLBinary.URI
176176
}
177177

178+
logger.Info("cloudql binary path", zap.String("path", baseDir+"/integarion_type/"+plugin.Components.CloudQLBinary.PathInArchive))
178179
cloudqlPlugin, err = os.ReadFile(baseDir + "/integarion_type/" + plugin.Components.CloudQLBinary.PathInArchive)
179180
if err != nil {
180181
logger.Error("failed to open cloudql-plugin file", zap.Error(err), zap.String("url", plugin.Components.CloudQLBinary.URI))

0 commit comments

Comments
 (0)