mirror of https://github.com/docker/compose.git
default description if none set by user
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
This commit is contained in:
parent
4693ce91f6
commit
4d11594df0
|
@ -36,5 +36,8 @@ func (e ecsLocalSimulation) Logout(ctx context.Context) error {
|
||||||
|
|
||||||
func (e ecsLocalSimulation) CreateContextData(ctx context.Context, params interface{}) (contextData interface{}, description string, err error) {
|
func (e ecsLocalSimulation) CreateContextData(ctx context.Context, params interface{}) (contextData interface{}, description string, err error) {
|
||||||
opts := params.(ecs.ContextParams)
|
opts := params.(ecs.ContextParams)
|
||||||
|
if opts.Description == "" {
|
||||||
|
opts.Description = "ECS local endpoints"
|
||||||
|
}
|
||||||
return struct{}{}, opts.Description, nil
|
return struct{}{}, opts.Description, nil
|
||||||
}
|
}
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
limitations under the License.
|
limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package ecs_local_e2e
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
Loading…
Reference in New Issue