Fixed typos across fission repo (#1832)

Co-authored-by: Vishal <vishal-biyani@users.noreply.github.com>
This commit is contained in:
Gaurav Gahlot
2020-10-16 17:25:11 +05:30
committed by GitHub
co-authored by Vishal
parent 6e3c42f238
commit fca0a60e5b
49 changed files with 157 additions and 172 deletions
+1 -1
View File
@@ -64,7 +64,7 @@ func (opts *UpdateSubCommand) complete(input cli.Input) error {
envName := input.String(flagkey.FnEnvironmentName)
envNamespace := input.String(flagkey.NamespaceEnvironment)
// if the new env specified is the same as the old one, no need to update package
// same is true for all update parameters, but, for now, we dont check all of them - because, its ok to
// same is true for all update parameters, but, for now, we don't check all of them - because, its ok to
// re-write the object with same old values, we just end up getting a new resource version for the object.
if len(envName) > 0 && envName == function.Spec.Environment.Name {
envName = ""
+1 -1
View File
@@ -53,7 +53,7 @@ func (opts *ListSubCommand) complete(input cli.Input) error {
func (opts *ListSubCommand) run(input cli.Input) error {
ws, err := opts.Client().V1().KubeWatcher().List(opts.namespace)
if err != nil {
return errors.Wrap(err, "error listing kubewatches")
return errors.Wrap(err, "error listing kubewatchers")
}
w := tabwriter.NewWriter(os.Stdout, 0, 0, 1, ' ', 0)
+1 -1
View File
@@ -88,7 +88,7 @@ func (influx InfluxDB) GetLogs(filter LogFilter) ([]LogEntry, error) {
for _, r := range response.Results {
for _, series := range r.Series {
//create map of columns to row indeces
//create map of columns to row indices
indexMap := makeIndexMap(series.Columns)
// TODO: Remove fallback indexes. Some of index's name changed in fluent-bit, here we add extra fallbackIndexes to address compatibility problem.