Skip to content

Commit ba15519

Browse files
committed
Fix the path used to load a directory of agents
Signed-off-by: David Gageot <david.gageot@docker.com>
1 parent 6b6ed5e commit ba15519

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkg/teamloader/teamloader.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ func Load(ctx context.Context, path string, runtimeConfig config.RuntimeConfig)
165165
)
166166

167167
// Load the agent's configuration
168-
cfg, err := config.LoadConfigSecure(path, parentDir)
168+
cfg, err := config.LoadConfigSecure(fileName, parentDir)
169169
if err != nil {
170170
return nil, err
171171
}

0 commit comments

Comments
 (0)