We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 02d0228 commit 2a9a842Copy full SHA for 2a9a842
agent/api.go
@@ -50,6 +50,9 @@ func (a *agent) apiHandler() (http.Handler, func() error) {
50
)
51
}
52
53
+ // Append after to allow the agent options to override the default options.
54
+ containerAPIOpts = append(containerAPIOpts, a.containerAPIOptions...)
55
+
56
containerAPI = agentcontainers.NewAPI(a.logger.Named("containers"), containerAPIOpts...)
57
58
r.Mount("/api/v0/containers", containerAPI.Routes())
0 commit comments