Skip to content
This repository was archived by the owner on Feb 16, 2023. It is now read-only.

Commit fac9436

Browse files
committed
Add 'Already up to date' message
1 parent 12e6ad1 commit fac9436

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

internals/secrethub/migrate.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -630,6 +630,10 @@ func (cmd *MigrateApplyCommand) Run() error {
630630
}
631631

632632
fmt.Fprintln(cmd.io.Output())
633+
if len(changes) == 0 {
634+
fmt.Fprintln(cmd.io.Output(), "Already up to date.")
635+
return nil
636+
}
633637
fmt.Fprintln(cmd.io.Output(), "Detected changes to be made:")
634638
indentedWriter := indentedWriter{
635639
w: cmd.io.Output(),

0 commit comments

Comments
 (0)