Browse Source

Fixing typo on service log output.

Signed-off-by: Adam Avilla <aavilla@yp.com>
Adam Avilla 9 năm trước cách đây
mục cha
commit
7cc6fe5758
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      api/server/router/swarm/cluster_routes.go

+ 1 - 1
api/server/router/swarm/cluster_routes.go

@@ -109,7 +109,7 @@ func (sr *swarmRouter) createService(ctx context.Context, w http.ResponseWriter,
 
 	id, err := sr.backend.CreateService(service)
 	if err != nil {
-		logrus.Errorf("Error reating service %s: %v", id, err)
+		logrus.Errorf("Error creating service %s: %v", id, err)
 		return err
 	}