Skip to content
This repository was archived by the owner on Mar 27, 2024. It is now read-only.

Remove panic. #65

Merged
merged 1 commit into from
Aug 31, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion utils/image_prep_utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ func (p CloudPrepper) getFileSystem() (string, error) {
path := strings.Replace(URLMatch[1], ":", "", -1)
ref, err := docker.ParseReference("//" + p.Source)
if err != nil {
panic(err)
return "", err
}

// By default, the image library will try to look at /etc/docker/certs.d
Expand Down