Skip to content

Commit

Permalink
another log
Browse files Browse the repository at this point in the history
  • Loading branch information
nieomylnieja committed Apr 15, 2024
1 parent f5e23ec commit ce2181c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 2 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,5 @@ require (
gopkg.in/yaml.v2 v2.4.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)

replace github.com/nobl9/nobl9-go => github.com/nobl9/nobl9-go v0.82.0-rc1.0.20240415155321-50d119ae6e19
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ github.com/mattn/go-isatty v0.0.20 h1:xfD0iDuEKnDkl03q4limB+vH+GxLEtL/jb4xVJSWWE
github.com/mattn/go-isatty v0.0.20/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y=
github.com/mitchellh/colorstring v0.0.0-20190213212951-d06e56a500db h1:62I3jR2EmQ4l5rM/4FEfDWcRD+abF5XlKShorW5LRoQ=
github.com/mitchellh/colorstring v0.0.0-20190213212951-d06e56a500db/go.mod h1:l0dey0ia/Uv7NcFFVbCLtqEBQbrT4OCwCSKTEv6enCw=
github.com/nobl9/nobl9-go v0.81.0 h1:0l12KaXtiiRes6OQPUeMMQ1FzlvQzyr6+BEMbBoy1Jo=
github.com/nobl9/nobl9-go v0.81.0/go.mod h1:ccyZ3zJo/YoCuvkAJoGx7DyWrQpFfD2VS54+qahpGQM=
github.com/nobl9/nobl9-go v0.82.0-rc1.0.20240415155321-50d119ae6e19 h1:+bP7mf2UnzzqTKWtnHFL8gWe8sjemW/Slc5pprr2/lI=
github.com/nobl9/nobl9-go v0.82.0-rc1.0.20240415155321-50d119ae6e19/go.mod h1:xnmflPkGrPlGGbGhYalKDh+NQ855pNwYSudEHjIym+c=
github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4=
github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
Expand Down
3 changes: 0 additions & 3 deletions internal/apply.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package internal
import (
_ "embed"
"fmt"
"os"
"reflect"

"github.com/spf13/cobra"
Expand Down Expand Up @@ -89,8 +88,6 @@ func (a ApplyCmd) Run(cmd *cobra.Command) error {
fmt.Println("Parsed target: ", reflect.TypeOf(target).Name())
}
}
data, _ := os.ReadFile("test/inputs/delete-by-name/slo.yaml")
fmt.Println(string(data))
printSourcesDetails("Applying", objects)
if err = a.client.Objects().V1().Apply(cmd.Context(), objects); err != nil {
return err
Expand Down

0 comments on commit ce2181c

Please sign in to comment.