cloudapi: make assignment more idiomatic

Actually, my IDE is shouting at me that so changing this to make it happy.

Signed-off-by: Ondřej Budai <ondrej@budai.cz>
This commit is contained in:
Ondřej Budai 2022-04-05 10:28:11 +02:00 committed by Tomáš Hozza
parent d957e1f6cc
commit 42aa3b1f11

View file

@ -211,7 +211,7 @@ func generateManifest(ctx context.Context, cancel context.CancelFunc, workers *w
break
}
var jobResult *worker.ManifestJobByIDResult = &worker.ManifestJobByIDResult{
jobResult := &worker.ManifestJobByIDResult{
Manifest: nil,
}