Skip to content
This repository was archived by the owner on Aug 14, 2020. It is now read-only.

lib: use upstream functions and parse digest#140

Merged
iaguis merged 2 commits intoappc:masterfrom
kinvolk-archives:iaguis/docker-vendor
Mar 16, 2016
Merged

lib: use upstream functions and parse digest#140
iaguis merged 2 commits intoappc:masterfrom
kinvolk-archives:iaguis/docker-vendor

Conversation

@iaguis
Copy link
Copy Markdown
Member

@iaguis iaguis commented Mar 16, 2016

Now that we vendor, we can get rid of some copied code.

Also, this might help with rkt/rkt#2188

cc @dgonyeo

Now that we vendor, we can get rid of some copied code.
@iaguis iaguis added this to the 0.10.0 milestone Mar 16, 2016
} else {
indexName = nameParts[0]
remoteName = nameParts[1]
indexName, remoteName = name[:i], name[i+1:]
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This case will be visited also when i is -1, so you cannot use it for indexing, right?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if i is -1 it will fall under the if condition, oder?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Eh, nevermind.

@krnowak
Copy link
Copy Markdown
Member

krnowak commented Mar 16, 2016

One nit. Otherwise LFAD.

@iaguis iaguis force-pushed the iaguis/docker-vendor branch from 1f980e6 to 2b7ecb2 Compare March 16, 2016 15:04
iaguis added a commit that referenced this pull request Mar 16, 2016
lib: use upstream functions and parse digest
@iaguis iaguis merged commit 96dce40 into appc:master Mar 16, 2016
@iaguis iaguis modified the milestones: 0.9.2, 0.10.0 Mar 17, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants