Skip to content

Commit

Permalink
Fix CR comments
Browse files Browse the repository at this point in the history
  • Loading branch information
workeitel committed Oct 2, 2017
1 parent 7bdc06d commit 6e29a18
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion agent/plugins/configurepackage/configurepackage_execute.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ func executeInstall(
installtrace.WithExitcode(int64(result.GetExitCode()))

if result.GetStatus() == contracts.ResultStatusSuccess {
validatetrace := tracer.BeginSection(fmt.Sprintf("valiate %s/%s - rollback: %t", inst.PackageName(), inst.Version(), isRollback))
validatetrace := tracer.BeginSection(fmt.Sprintf("validate %s/%s - rollback: %t", inst.PackageName(), inst.Version(), isRollback))
result = inst.Validate(tracer, context)
validatetrace.WithExitcode(int64(result.GetExitCode()))
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -390,6 +390,6 @@ func (inst *Installer) executeDocument(
exectrace.WithError(pluginOut.Error)
output.MarkAsFailed(nil, nil)
}
output.SetStatus(pluginOut.Status)
output.SetStatus(contracts.MergeResultStatus(output.GetStatus(), pluginOut.Status))
}
}
2 changes: 1 addition & 1 deletion agent/plugins/configurepackage/ssms3/ssms3.go
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ func getLatestS3Version(tracer trace.Tracer, packageURL string, name string) (st
folders, err := networkdep.ListS3Folders(logger, amazonS3URL)
if err != nil {
versiontrace.WithError(err).End()
return "", nil
return "", err
}

latestVersion := getLatestVersion(folders[:], "")
Expand Down

0 comments on commit 6e29a18

Please sign in to comment.