Skip to content

Commit cf49efc

Browse files
committed
fix check urls length
1 parent 667bbe2 commit cf49efc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pkg/environment/environment.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -319,15 +319,15 @@ func getEnvironmentFromParams(params kernel.Params) (Environment, error) {
319319
env.FlistURL = flist
320320
}
321321

322-
if bin := config.FlistURL; len(bin) > 0 {
322+
if bin := config.BinRepo; len(bin) > 0 {
323323
env.FlistURL = bin
324324
}
325325

326-
if kyc := config.FlistURL; len(kyc) > 0 {
326+
if kyc := config.KycURL; len(kyc) > 0 {
327327
env.FlistURL = kyc
328328
}
329329

330-
if registrar := config.FlistURL; len(registrar) > 0 {
330+
if registrar := config.RegistrarURL; len(registrar) > 0 {
331331
env.FlistURL = registrar
332332
}
333333

0 commit comments

Comments
 (0)