1
0
mirror of https://github.com/docker/cli.git synced 2026-01-23 15:21:32 +03:00

Fix some typo

Signed-off-by: Xiaodong Zhang <a4012017@sina.com>
This commit is contained in:
Xiaodong Zhang
2018-09-07 17:18:00 +08:00
parent ce4a9f8311
commit f8e04011e4
3 changed files with 3 additions and 3 deletions

View File

@@ -107,7 +107,7 @@ func RunServices(dockerCli *KubeCli, opts options.Services) error {
return err
}
// Convert Replicas sets and kubernetes services to swam services and formatter informations
// Convert Replicas sets and kubernetes services to swarm services and formatter information
services, info, err := convertToServices(replicasList, daemonsList, servicesList)
if err != nil {
return err

View File

@@ -85,7 +85,7 @@ func (s *stackV1Beta1) IsColliding(servicesClient corev1.ServiceInterface, st St
return nil
}
// verify checks wether the service is already present in kubernetes.
// verify checks whether the service is already present in kubernetes.
// If we find the service by name but it doesn't have our label or it has a different value
// than the stack name for the label, we fail (i.e. it will collide)
func verify(services corev1.ServiceInterface, stackName string, service string) error {