Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
nkwangleiGIT committed Jan 19, 2024
2 parents 0ce6076 + 00ce016 commit 7ff1685
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apiserver/pkg/worker/worker.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ func Worker2model(ctx context.Context, c dynamic.Interface, obj *unstructured.Un
// replicas
var replicas string
if worker.Spec.Replicas != nil {
replicas = fmt.Sprint(worker.Spec.Replicas)
replicas = fmt.Sprint(*worker.Spec.Replicas)
}

// resources
Expand Down

0 comments on commit 7ff1685

Please sign in to comment.