Skip to content

Commit

Permalink
Always print "Finished..." at the end of metadata scripts
Browse files Browse the repository at this point in the history
That will match linux's agent behavior
  • Loading branch information
Gustavo Serra Scalet committed Aug 15, 2018
1 parent 553f87b commit d57a43f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions metadata_scripts/GCEMetadataScripts/main.go
Expand Up @@ -415,9 +415,9 @@ func main() {
if len(scripts) == 0 {
logger.Infof("No %s scripts to run.", os.Args[1])
os.Exit(0)
} else {
ctx := context.Background()
runScripts(ctx, scripts)
}

ctx := context.Background()
runScripts(ctx, scripts)
logger.Infof("Finished running %s scripts.", os.Args[1])
}

0 comments on commit d57a43f

Please sign in to comment.