mirror of
https://github.com/clearlinux/rkt.git
synced 2026-09-06 05:41:50 +00:00
Merge pull request #398 from sgotti/tieaciendpoints
rkt: use new discovery.Endpoint struct from appc/spec.
This commit is contained in:
+1
-1
@@ -91,7 +91,7 @@ func fetchImage(img string, ds *cas.Store, ks *keystore.Keystore) (string, error
|
||||
}
|
||||
|
||||
func fetchImageFromEndpoints(ep *discovery.Endpoints, ds *cas.Store, ks *keystore.Keystore) (string, error) {
|
||||
rem := cas.NewRemote(ep.ACI[0], ep.Sig[0])
|
||||
rem := cas.NewRemote(ep.ACIEndpoints[0].ACI, ep.ACIEndpoints[0].Sig)
|
||||
return downloadImage(rem, ds, ks)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user