Skip to content

Commit

Permalink
Deleted repetead MinIO credentials on service creation
Browse files Browse the repository at this point in the history
  • Loading branch information
catttam committed Feb 21, 2024
1 parent d1d6a35 commit 2bca415
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions cmd/apply.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,10 +110,7 @@ func applyFunc(cmd *cobra.Command, args []string) error {
// Initialize map
svc.StorageProviders.MinIO = map[string]*types.MinIOProvider{}
}
/* for cn, m := range minioProviders {
svc.StorageProviders.MinIO[cn] = m
}
*/

// Check if service exists in cluster in order to create or edit it
if exists := serviceExists(svc, conf.Oscar[clusterName]); exists {
msg = fmt.Sprintf(" Editing service \"%s\" in cluster \"%s\"", svc.Name, clusterName)
Expand Down

0 comments on commit 2bca415

Please sign in to comment.