sct/lib/sct/commands/shell.rb in sct-1.1.1 vs sct/lib/sct/commands/shell.rb in sct-1.1.2

- old
+ new

@@ -19,13 +19,9 @@ manifest = YAML.load File.read file services = manifest["services"].to_a - if services.length != 1 - error "Currently sct only supports a single service declaration in '#{file}'. Contact the infra guild if you consider this a limitation." - end - service, service_spec = services.first container = service_spec["container_name"] project = `docker container inspect --format '{{index .Config.Labels "com.docker.compose.project"}}' #{container}`.chomp