Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make Codespell happy #181

Merged
merged 1 commit into from
Feb 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pkg/datasource/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down
4 changes: 2 additions & 2 deletions pkg/manager/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand All @@ -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)
}

Expand Down