Skip to content

Commit

Permalink
Update: Support staticcheck deprecation detection in golangci-lint (#82)
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric Powers authored Jun 18, 2021
1 parent e9c65f3 commit b7efca7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions appcreds/appcreds.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ func Create(ctx context.Context, m manipulate.Manipulator, namespace string, ac
}

// NewWithAppCredential creates a new *gaia.AppCredential from an *AppCredential
//
// Deprecated: use Create instead
func NewWithAppCredential(ctx context.Context, m manipulate.Manipulator, template *gaia.AppCredential) (*gaia.AppCredential, error) {
fmt.Println("DEPRECATED: NewWithAppCredential is deprecated in favor of Create instead")
Expand Down

0 comments on commit b7efca7

Please sign in to comment.