diff --git a/pkg/datasource/service.go b/pkg/datasource/service.go index 5793259d..5f1a5e50 100644 --- a/pkg/datasource/service.go +++ b/pkg/datasource/service.go @@ -244,7 +244,7 @@ func (s *Service) exportFromVolume(parameters map[string]string) error { var timeout int if timeout, err = strconv.Atoi(parameters[types.DataSourceTypeExportFromVolumeParameterFileSyncHTTPClientTimeout]); err != nil { - s.log.Warnf("DataSource Service: Failed to parse string %v to an valie timeout integer, will ignore this input parameter: %v", + s.log.Warnf("DataSource Service: Failed to parse string %v to a valid timeout integer, will ignore this input parameter: %v", parameters[types.DataSourceTypeExportFromVolumeParameterFileSyncHTTPClientTimeout], err) timeout = 60 } diff --git a/pkg/manager/service.go b/pkg/manager/service.go index fbad2652..233aea9b 100644 --- a/pkg/manager/service.go +++ b/pkg/manager/service.go @@ -457,7 +457,7 @@ func (m *Manager) Fetch(ctx context.Context, req *rpc.FetchRequest) (resp *rpc.B var srcFilePath string if req.DataSourceAddress != "" { - log.Infof("Backing Image Manager: need to transfer the file from the data sourece server first") + log.Infof("Backing Image Manager: need to transfer the file from the data source server first") srcFilePath = types.GetDataSourceFilePath(m.diskPath, req.Spec.Name, req.Spec.Uuid) dsClient := &client.DataSourceClient{Remote: req.DataSourceAddress} dsInfo, err := dsClient.Get() @@ -472,7 +472,7 @@ func (m *Manager) Fetch(ctx context.Context, req *rpc.FetchRequest) (resp *rpc.B return nil, err } } else { - log.Infof("Backing Image Manager: there is no need to transfer the file from the data sourece server, will try to directly reuse the file") + log.Infof("Backing Image Manager: there is no need to transfer the file from the data source server, will try to directly reuse the file") srcFilePath = types.GetBackingImageFilePath(m.diskPath, req.Spec.Name, req.Spec.Uuid) }