Store context type in metadata to make retrocompatibility with previous contexts easier (potentially switching back and forth)

This commit is contained in:
Guillaume Tardif 2020-06-10 14:07:35 +02:00
parent 8930563a25
commit e7682682fb
8 changed files with 147 additions and 48 deletions

View file

@ -79,7 +79,7 @@ func runList(ctx context.Context) error {
fmt.Fprintf(w,
format,
contextName,
c.Type,
c.Type(),
c.Metadata.Description,
getEndpoint("docker", c.Endpoints),
getEndpoint("kubernetes", c.Endpoints),