vendor: update buildkit to v0.30.0-rc1
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
This commit is contained in:
@@ -84,7 +84,7 @@ func BuildName(fattrs map[string]string, ls *localstate.State) string {
|
||||
}
|
||||
}
|
||||
if res == "" && vcsSource != "" {
|
||||
u, _ := dfgitutil.FragmentFormat(vcsSource)
|
||||
u, _ := dfgitutil.FragmentFormat(vcsSource, false)
|
||||
return u
|
||||
}
|
||||
return res
|
||||
|
||||
@@ -275,7 +275,7 @@ func (sc *spanContext) asTraceSpanContext() (trace.SpanContext, error) {
|
||||
func (kv *keyValue) asAttributeKeyValue() (attribute.KeyValue, error) {
|
||||
// value types get encoded as string
|
||||
switch kv.Value.Type {
|
||||
case attribute.INVALID.String():
|
||||
case attribute.EMPTY.String():
|
||||
return attribute.KeyValue{}, errors.New("invalid value type")
|
||||
case attribute.BOOL.String():
|
||||
return attribute.Bool(kv.Key, kv.Value.Value.(bool)), nil
|
||||
|
||||
Reference in New Issue
Block a user