mirror of
https://github.com/foomo/posh-providers.git
synced 2025-10-16 12:35:41 +00:00
feat: lint errors
This commit is contained in:
parent
6e1e3271f8
commit
944c6a4a87
@ -10,7 +10,7 @@ import (
|
||||
type (
|
||||
Config struct {
|
||||
Charts ConfigCharts `json:"charts" yaml:"charts"`
|
||||
Registry ConfigRegistry `json:"registry" json:"registry"`
|
||||
Registry ConfigRegistry `json:"registry" yaml:"registry"`
|
||||
Clusters []ConfigCluster `json:"clusters" yaml:"clusters"`
|
||||
}
|
||||
ConfigCharts struct {
|
||||
@ -18,8 +18,8 @@ type (
|
||||
Prefix string `json:"prefix" yaml:"prefix"`
|
||||
}
|
||||
ConfigRegistry struct {
|
||||
Name string `json:"name" json:"name"`
|
||||
Port string `json:"port" json:"port"`
|
||||
Name string `json:"name" yaml:"name"`
|
||||
Port string `json:"port" yaml:"port"`
|
||||
}
|
||||
ConfigCluster struct {
|
||||
Name string `json:"name" yaml:"name"`
|
||||
|
||||
@ -85,7 +85,7 @@ func (i *K3d) Registry(ctx context.Context, name string) (*Registry, error) {
|
||||
return registry, nil
|
||||
}
|
||||
}
|
||||
return nil, nil
|
||||
return nil, nil //nolint: nilnil
|
||||
}
|
||||
|
||||
func (i *K3d) Cluster(ctx context.Context, name string) (*Cluster, error) {
|
||||
@ -102,5 +102,5 @@ func (i *K3d) Cluster(ctx context.Context, name string) (*Cluster, error) {
|
||||
return cluster, nil
|
||||
}
|
||||
}
|
||||
return nil, nil
|
||||
return nil, nil //nolint: nilnil
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user