Skip to content

Commit b598709

Browse files
committed
join args when failed
1 parent 6ac4e51 commit b598709

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/gcp/pkg/stub/handler.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ func createCluster(cr *v1alpha1.GKECluster, log *logrus.Entry) (*v1alpha1.GKEClu
237237
if err != nil {
238238
err = fmt.Errorf("failed to create GKE Cluster: %v, %s", err, out)
239239
log.Error(err)
240-
log.Errorf("Error creation by Args: %v", args)
240+
log.Errorf("Error creation with command: gcloud %s", strings.Join(args, " "))
241241
return nil, err
242242
}
243243

0 commit comments

Comments
 (0)