lint
This commit is contained in:
parent
ad520c222b
commit
342504dd50
@ -93,9 +93,6 @@ module Faaso
|
|||||||
def run
|
def run
|
||||||
funkos = Funko.from_paths(@arguments)
|
funkos = Funko.from_paths(@arguments)
|
||||||
funkos.each do |funko|
|
funkos.each do |funko|
|
||||||
container_name = "faaso-#{funko.name}"
|
|
||||||
docker_api = Docr::API.new(Docr::Client.new)
|
|
||||||
|
|
||||||
if funko.image_history.empty?
|
if funko.image_history.empty?
|
||||||
puts "Error: no images available for #{funko.name}:latest"
|
puts "Error: no images available for #{funko.name}:latest"
|
||||||
next
|
next
|
||||||
|
@ -107,7 +107,7 @@ class Funko
|
|||||||
end
|
end
|
||||||
|
|
||||||
# Create a container for this funko
|
# Create a container for this funko
|
||||||
def create_container( autostart : Bool = true) : String
|
def create_container(autostart : Bool = true) : String
|
||||||
conf = Docr::Types::CreateContainerConfig.new(
|
conf = Docr::Types::CreateContainerConfig.new(
|
||||||
image: "#{name}:latest",
|
image: "#{name}:latest",
|
||||||
hostname: name,
|
hostname: name,
|
||||||
|
Loading…
Reference in New Issue
Block a user