Skip to content

Conversation

@thaJeztah
Copy link
Member

Splitting this change from #2118

This test was producing error messages due to missing endpoints
in the plugin API;

=== RUN   TestValidRemoteDriver
ERRO[0039] error getting capability for valid-network-driver due to NetworkDriver.GetCapabilities: 404 page not found

@thaJeztah
Copy link
Member Author

ping @euanh @selansen @mavenugo PTAL

@thaJeztah
Copy link
Member Author

Fixed a second warning as well by adding the Delete endpoint; no warnings/errors anymore;

=== RUN   TestValidRemoteDriver
--- PASS: TestValidRemoteDriver (0.03s)

@thaJeztah
Copy link
Member Author

ping @euanh @arkodg @mavenugo PTAL

})
mux.HandleFunc(fmt.Sprintf("/%s.DeleteNetwork", driverapi.NetworkPluginEndpointType), func(w http.ResponseWriter, r *http.Request) {
w.Header().Set("Content-Type", "application/vnd.docker.plugins.v1+json")
fmt.Fprintf(w, "{}")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess both work; let me update

@thaJeztah thaJeztah force-pushed the fix_TestValidRemoteDriver branch from 670774a to 4f25d4e Compare May 23, 2019 12:54
@thaJeztah
Copy link
Member Author

@arkodg updated; PTAL

thaJeztah added 2 commits May 23, 2019 14:55
This test was producing error messages due to missing endpoints
in the plugin API;

```
=== RUN   TestValidRemoteDriver
ERRO[0039] error getting capability for valid-network-driver due to NetworkDriver.GetCapabilities: 404 page not found
 ```

Signed-off-by: Sebastiaan van Stijn <[email protected]>
Signed-off-by: Sebastiaan van Stijn <[email protected]>
@thaJeztah thaJeztah force-pushed the fix_TestValidRemoteDriver branch from 4f25d4e to 1cf5b18 Compare May 23, 2019 12:55
Copy link
Contributor

@arkodg arkodg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@euanh euanh self-requested a review June 14, 2019 16:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants