Skip to content

Commit

Permalink
fix typo and add copyright header
Browse files Browse the repository at this point in the history
Signed-off-by: Sanskar Jaiswal <jaiswalsanskar078@gmail.com>
  • Loading branch information
aryan9600 committed Mar 4, 2022
1 parent 2afbd41 commit f2db216
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
2 changes: 1 addition & 1 deletion helmtestserver/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ func (s *HelmServer) PackageChartWithVersion(path, version string) error {
}

// PackageSignedChartWithVersion attempts to package the chart at the given path
// with the given version and sign it using a internally generated PGP keyring, to be served
// with the given version and sign it using an internally generated PGP keyring, to be served
// by the HelmServer. publicKeyPath is the path where the public key should be written to, which
// can be used to verify this chart. It returns an error in case of a packaging failure.
func (s *HelmServer) PackageSignedChartWithVersion(path, version, publicKeyPath string) error {
Expand Down
16 changes: 16 additions & 0 deletions helmtestserver/server_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
/*
Copyright 2020 The Flux authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/

package helmtestserver

import (
Expand Down

0 comments on commit f2db216

Please sign in to comment.