Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove duplicate pull of token/blockchain docker images #144

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
12 changes: 0 additions & 12 deletions internal/stacks/stack_manager.go
Expand Up @@ -455,18 +455,6 @@ func (s *StackManager) PullStack(verbose bool, options *PullOptions) error {
images = append(images, constants.PostgresImageName)
}

// Iterate over all images used by the blockchain provider
for _, service := range s.blockchainProvider.GetDockerServiceDefinitions() {
images = append(images, service.Service.Image)
}

// Iterate over all images used by the tokens provider
for iTok, tp := range s.tokenProviders {
for _, service := range tp.GetDockerServiceDefinitions(iTok) {
images = append(images, service.Service.Image)
}
}

// Use docker to pull every image - retry on failure
for _, image := range images {
s.Log.Info(fmt.Sprintf("pulling '%s", image))
Expand Down