Skip to content

Commit

Permalink
chore: add print statements for deploy #336
Browse files Browse the repository at this point in the history
  • Loading branch information
srinandan committed Nov 29, 2023
1 parent 445b960 commit 5aed2cb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/apis/bundlecrtapis.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import (
"path/filepath"

"internal/apiclient"
"internal/clilog"

proxybundle "internal/bundlegen/proxybundle"

Expand Down Expand Up @@ -80,6 +81,7 @@ var BundleCreateCmd = &cobra.Command{
}
}
if env != "" {
clilog.Info.Printf("Deploying the API Proxy %s to environment %s\n", name, env)
if revision, err = GetRevision(respBody); err != nil {
return err
}
Expand Down
2 changes: 2 additions & 0 deletions cmd/sharedflows/bundlecrtsf.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import (
"path/filepath"

"internal/apiclient"
"internal/clilog"

"internal/bundlegen/proxybundle"

Expand Down Expand Up @@ -82,6 +83,7 @@ var BundleCreateCmd = &cobra.Command{
}
}
if env != "" {
clilog.Info.Printf("Deploying the Sharedflow %s to environment %s\n", name, env)
if revision, err = GetRevision(respBody); err != nil {
return err
}
Expand Down

0 comments on commit 5aed2cb

Please sign in to comment.