diff --git a/weed/admin/view/app/s3vectors_buckets_test.go b/weed/admin/view/app/s3vectors_buckets_test.go index ee97245d23..d20a98361f 100644 --- a/weed/admin/view/app/s3vectors_buckets_test.go +++ b/weed/admin/view/app/s3vectors_buckets_test.go @@ -86,6 +86,7 @@ func TestVectorOperationalStates(t *testing.T) { } { var out bytes.Buffer require.NoError(t, VectorStatus(data).Render(t.Context(), &out)) + require.Contains(t, out.String(), `Maintenance jobs`) if data.DiscoveryError != "" { require.Contains(t, out.String(), "Engine discovery failed") } else if len(data.Engines) == 0 { diff --git a/weed/admin/view/app/vector_status.templ b/weed/admin/view/app/vector_status.templ index 9318e55974..110d26fb74 100644 --- a/weed/admin/view/app/vector_status.templ +++ b/weed/admin/view/app/vector_status.templ @@ -25,7 +25,7 @@ templ VectorStatus(data dash.VectorOperationsData) { } else {

{ fmt.Sprintf("%d vector maintenance workers connected",data.MaintenanceWorkers) }

} - Maintenance jobs + Maintenance jobs if len(data.MaintenanceJobs)>0 { for _,job:=range data.MaintenanceJobs { diff --git a/weed/admin/view/app/vector_status_templ.go b/weed/admin/view/app/vector_status_templ.go index ba03e203b4..ef8278ad46 100644 --- a/weed/admin/view/app/vector_status_templ.go +++ b/weed/admin/view/app/vector_status_templ.go @@ -142,9 +142,9 @@ func VectorStatus(data dash.VectorOperationsData) templ.Component { return templ_7745c5c3_Err } var templ_7745c5c3_Var7 string - templ_7745c5c3_Var7, templ_7745c5c3_Err = templruntime.NewAttributeExpression(dash.PUrl(ctx, "/plugin/monitoring")).ResolveURL(ctx) + templ_7745c5c3_Var7, templ_7745c5c3_Err = templruntime.NewAttributeExpression(dash.PUrl(ctx, "/plugin/lanes/lance")).ResolveURL(ctx) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `view/app/vector_status.templ`, Line: 28, Col: 48} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `view/app/vector_status.templ`, Line: 28, Col: 49} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var7) if templ_7745c5c3_Err != nil {
Recent jobStateResult