@@ -651,7 +651,7 @@ private UpdateFunctionConfigurationRequest CreateConfigurationRequestIfDifferent
651651 request . LoggingConfig = new LoggingConfig ( ) ;
652652 }
653653
654- if ( ! string . Equals ( request . LoggingConfig . LogFormat , existingConfiguration . LoggingConfig ? . LogFormat , StringComparison . Ordinal ) )
654+ if ( ! string . Equals ( logFormat , existingConfiguration . LoggingConfig ? . LogFormat , StringComparison . Ordinal ) )
655655 {
656656 request . LoggingConfig . LogFormat = logFormat ;
657657 different = true ;
@@ -666,7 +666,7 @@ private UpdateFunctionConfigurationRequest CreateConfigurationRequestIfDifferent
666666 request . LoggingConfig = new LoggingConfig ( ) ;
667667 }
668668
669- if ( ! string . Equals ( request . LoggingConfig . ApplicationLogLevel , existingConfiguration . LoggingConfig ? . ApplicationLogLevel , StringComparison . Ordinal ) )
669+ if ( ! string . Equals ( logApplicationLevel , existingConfiguration . LoggingConfig ? . ApplicationLogLevel , StringComparison . Ordinal ) )
670670 {
671671 request . LoggingConfig . ApplicationLogLevel = logApplicationLevel ;
672672 different = true ;
@@ -681,7 +681,7 @@ private UpdateFunctionConfigurationRequest CreateConfigurationRequestIfDifferent
681681 request . LoggingConfig = new LoggingConfig ( ) ;
682682 }
683683
684- if ( ! string . Equals ( request . LoggingConfig . SystemLogLevel , existingConfiguration . LoggingConfig ? . SystemLogLevel , StringComparison . Ordinal ) )
684+ if ( ! string . Equals ( logSystemLevel , existingConfiguration . LoggingConfig ? . SystemLogLevel , StringComparison . Ordinal ) )
685685 {
686686 request . LoggingConfig . SystemLogLevel = logSystemLevel ;
687687 different = true ;
@@ -696,7 +696,7 @@ private UpdateFunctionConfigurationRequest CreateConfigurationRequestIfDifferent
696696 request . LoggingConfig = new LoggingConfig ( ) ;
697697 }
698698
699- if ( ! string . Equals ( request . LoggingConfig . LogGroup , existingConfiguration . LoggingConfig ? . LogGroup , StringComparison . Ordinal ) )
699+ if ( ! string . Equals ( logGroup , existingConfiguration . LoggingConfig ? . LogGroup , StringComparison . Ordinal ) )
700700 {
701701 request . LoggingConfig . LogGroup = logGroup ;
702702 different = true ;
0 commit comments